Questions tagged [health-check]

A status of a service and any services it depends on. The health check can be used to monitor the service and is usually accessed via a request to a specific route on the server.

What is a health check?

Health checks are a way to know the status of the service we are monitoring.

This status can be affected by several factors:

  1. The internal state of the service
  2. The external services the service uses (such as external APIs, message brokers)
  3. Hardware dependencies (such as storage or network problems)

Identifying what problems exist in real-time can greatly improve the day-to-day management of the service, and can help track down issues that result from it's downgraded performance, as well as provide observability for a wide array of services.

What questions should contain this tag?

  1. Questions about the proper use of health-checks
  2. Questions about specific implementations of health-checks
  3. Questions about real-time monitoring using health-checks
  4. Questions about recommended health check for specific dependencies
421 questions
0
votes
2 answers

How to add health checks to .Net core Background service

I am having a .net core 2.1 Background service application which is subscribed to a queue in Microsoft Azure Service bus. It has some logic and it calls to an api over http. I would like to create a health check for this service. Could anyone please…
0
votes
1 answer

ASP.NET EF Core Health Check Returns nothing but 200 status

I'm currently implementing a health check on my Identity ASP.NET Core 3.1 project using PostgreSQL and EntifyFramework Core under Docker container. This are the nuget packages installed in my project Microsoft.EntityFrameworkCore…
Ron Michael
  • 1,381
  • 12
  • 15
0
votes
1 answer

how to check multiple health check path in liveness/redinessprobe in kubernetes

i am running 4 services inside a kubernetes pod and all are running on same port but the health check points are different for every service. I want to add multiple path in liveness/readiness probe. Currently i am using below configuration to check…
neha
  • 13
  • 4
0
votes
0 answers

Dot Net Core Mongo Health Check ERROR: New MongoClient can't be added into dictionary

I have a Web API application written in Dot Net Core 3.1 having a health check for MongoDB. I am using AspNetCore.HealthChecks.MongoDb (2.2.2) nuget for Mongo health check. We have noticed our production logs are flooded with errors saying New…
Charan Ghate
  • 1,384
  • 15
  • 32
0
votes
1 answer

Dynamo DB Health Check in JAVA

I have been trying to do a health check of AWS DynamoDB using Lambda fn in java using the dynamodb: ListTables Action. However, due to restrictions on the existing role, I am getting AccessDeniedException. I even tried to list out a specific table…
0
votes
1 answer

Healthcheck for MongoDB in Dockerfile

I am trying to create a Healthcheck for my MongoDB container configured in my Dockerfile: FROM ubuntu RUN apt-get update && apt-get install -y gnupg2 RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 RUN echo 'deb…
-1
votes
2 answers

Docker HealthChecks fail on ASP.Net application

Im trying to dockerize an ASP.NET application, however I am having some issues with the health checks, I have a simple program like var builder = WebApplication.CreateBuilder(args); builder.Services.AddHealthChecks(); var app =…
JDChris100
  • 146
  • 9
-1
votes
1 answer

application not returning a valid response to the GET request

It's my first time configuring load balancer and I am facing an issue where my Java application is returning error status code 400 when checking specific url. The expected result when calling following command (curl -I --verbose --noproxy * -H Host:…
JCP
  • 169
  • 1
  • 7
-1
votes
1 answer

How does AWS Fargate handle the health status of ASP.NET Core app hosted in it?

We current have an ASP.NET Core Web API hosted in AWS Fargate service. I have added a few health checks to the .NET Core app, like the database health check and few others for cache reset/reload. If any of these checks fail, the /status endpoint of…
-1
votes
1 answer

Health Check on Cloud Foundry

I have a question Regarding ”Health Check” of an Application. I am referring to document : https://docs.cloudfoundry.org/devguide/deploy-apps/healthchecks.html and I understand that when we deploy an application a default “health check” is…
-1
votes
1 answer

Error loading HealthCheck UI for AspNetCore

I am experiencing some issues with the AspNetCore.HealthChecks.UI package. I made the necessary settings in the Startup class of my API project, but when I access the endpoint to view the HealthCheck interface, only a JSON is displayed. My…
lruizd
  • 21
  • 4
-2
votes
1 answer

Does Akamai GTM support GRPC server health check?

I have set up a GCP GLB behind which I have GRPC service as a backend, I can only hit the back with ip:port to create a connection to the GRPC backend. So i want to be able to set up a health check in Akamai GTM to test the service for auto failover…
-2
votes
2 answers

How to an API periodically to receive service health status in Asp.net Core

I have a scenario where I have to call API periodically to receive health status. what if I use a while use? while (true) { // API call var health = _client.GetHealth(1).Result; if (health) { some other work } …
Rabner Casandara
  • 151
  • 3
  • 18
-2
votes
1 answer

Get application information from .csproj for use in custom health check

Is it possible to get data from the .csproj file to be passed to a custom health check in a .NET application? I currently have endpoints.MapCustomHealthChecks("ApplicationName", "ApplicationVersion"); in my Program.cs. It works fine except that I…
runnerpaul
  • 5,942
  • 8
  • 49
  • 118
1 2 3
27
28