health-check Questions

4

I have to check whether my service / app works or not. I've added dependency <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuato...
Hoax asked 10/1, 2022 at 13:7

2

Solved

I am deploying some services using Docker Compose. I want to check that my containers are healthy using healthcheck (see Docker Compose documentation here). Let's consider the following code. It wo...
Precedential asked 24/7, 2023 at 23:1

6

Solved

I'm using secrets to manage username, password, and dbname with a Docker stack using Postgres as a DB. I now want to use the healthcheck feature that Docker provides. docker-compose.yml x-db-secret...
Grenoble asked 2/12, 2020 at 20:25

6

I am running a Spring Boot application within a Docker container, using the Docker file to start the application within the container. How can I check the health of the Spring Boot application with...
Diuresis asked 15/8, 2019 at 19:46

2

I start play with HealthCheck in .NET 8 and I added UI to my project. However I have issues with icons. I'm not quite sure why I have got 404 for this file. The configuration looks really simple:...
Bobbi asked 21/12, 2023 at 9:31

4

Solved

Suppose I have a service which rather than listening for http request, or gRPC procedure calls only consumes messages from a broker (Kafka, rabbitMQ, Google Pub/Sub, what have you). How should I go...

2

In my work I was asked to implement health checks into an ASP.NET Web API 2 written in C#. I have searched but all the documentation is for ASP.NET Core and its implementation, does anyone know how...
Keniakenilworth asked 12/6, 2020 at 19:44

5

Solved

I'm creating my first app on AWS App Runner. I have a simple nginx Docker image that works locally by serving html on localhost:8080. When I try to deploy it, the result is "Create Failed&quot...

4

Solved

Elasticsearch healthcheck on docker-compose stops any dependent services because the container is always unhealthy. I see this when I run docker ps -a --format "table {{.Names}}\t{{.Image}}\t{...
Psychro asked 30/6, 2021 at 23:26

2

Solved

AWS S3 health check is one of the built-in health check services provided by .NET Core. It is available in AspNetCore.HealthChecks.Aws nuget package and presumably can be used like the following co...
Bolten asked 20/5, 2021 at 4:26

3

Solved

I've implemented healthchecks in my asp.net core application. One healthcheck does 2 checks - DbContext connection and custom one that checks NpgsqlConnection. Everything works fine in over 99% of...
Anse asked 1/3, 2020 at 10:38

1

Solved

I'm building my Docker image using Spring Boot's built in Gradle :bootBuildImage task, which is quite convenient, because I don't have to maintain my own Dockerfile. The Gradle task uses the Paketo...
Ancel asked 30/3, 2023 at 7:26

3

Solved

Since @nestjs/terminus doesn't provide a health check for Prisma, I'm trying to create it based on their Mongoose health check. When I try: import * as Prisma from 'prisma'; ... ... private getCon...
Ibex asked 14/10, 2021 at 10:4

2

Solved

Background: My Docker container has a very long startup time, and it is hard to predict when it is done. And when the health check kicks in, it first may show 'unhealthy' since the startup is somet...
Josuejosy asked 19/8, 2020 at 5:15

3

Service health check api response 503 when redis is down. { "status": "DOWN", "details": { "diskSpace": { "status": "UP", "details": { "total": 250790436864, "free": 95412813824, "threshol...

1

Solved

I've looked around from place to place but I am assuming one is an older way of doing things, but is there a more deeper difference to adding Health Check Endpoints to the middleware? In Startup.Co...
Geibel asked 25/5, 2022 at 22:8

1

Platforms such as Kubernetes have support for liveness and readiness probes: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes Basically, the (web...
Yabber asked 19/9, 2020 at 8:59

3

Solved

I'm evaluating the use of Microsoft Health Checks to improve routing of our internal load balancer. So far I'm very happy with the functionality provided by this feature and the community around it...
Carbuncle asked 7/10, 2020 at 14:15

1

Solved

I could not find any resources to add health checks to a HTTPTrigger function app, running in .NET 5.0 Isolated. static async Task Main() { var host = new HostBuilder() .ConfigureAppConfiguration...
Prestissimo asked 1/2, 2022 at 20:5

2

Solved

I have a docker container running with nginx server. I want to provide a rest-interface/endpoint to check the health of the server and container. E.g. GET http://container.com/health/ which delive...
Shrubbery asked 3/2, 2020 at 12:5

3

The docker docs say what a HEALTHCHECK instruction is and how to check the health of a container. But I am not able to figure out what happens when healthcheck fails. Like will the container be res...
Debutante asked 5/6, 2020 at 9:56

2

In order to ensure the health check of my container, I need to perform test calls to multiple URLS. curl -f http://example.com and curl -f http://example2.com Is it possible to perform multiple cur...
Ahrendt asked 25/7, 2021 at 16:35

1

Solved

I'd like to speed up the container startup time but my healthcheck is not allowing me. Let's say I'm having this healthcheck HEALTHCHECK --interval=300s --timeout=5s --start-period=5s --retries=3 C...
Bedew asked 1/9, 2021 at 10:18

1

Solved

I read this: https://github.com/dotnet/aspnetcore/issues/14453 and it seems i have the same problem. I have around 50 projects in my solution and each has their own RegisterServices.cs which define...
Cumming asked 31/8, 2021 at 16:34

1

Solved

Currently I have checked for one database using these code: services.AddHealthChecks() .AddSqlServer( connectionString: Configuration.GetConnectionString("DefaultConnection"), healthQu...
Cacodemon asked 13/8, 2021 at 3:38

© 2022 - 2024 — McMap. All rights reserved.