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
1 answer

Dropwizard Rest Application. How to view only my custom metrics

Hello Rest Api lovers !! I created a DropWizard basic rest application. I would like to view metrics but ONLY MY CUSTOM ONES and not dropwizard api's. how can i disable dropwizard's healtCheks and Metrics and only view mines (the custum ones). I…
0
votes
1 answer

spring-boot RabbitHealthIndicator returns healthy on shutdown rabbitmq connections

We are using the default spring boot health checks - also for monitoring rabbitmq. Unfortunately this doesn't work reliable. For example we have this in the log file: 2021-02-16 06:49:30.142 [AMQP Connection 10.160.98.21:5672] ERROR…
0
votes
0 answers

creating health check API

I am trying to create a healthCheck APi for our spring mvc (5.2.1)application in traditional XML config. I want to capture details like cpu utilization memory consumption details threads in use database in check checking for some 3rd party services…
Rips
  • 1,964
  • 1
  • 23
  • 45
0
votes
1 answer

GCP load balancer health check not working properly

I have a Load Balancer setup that routes traffic to multiple Cloud Storage buckets and an instance group for backend. The buckets seem to work fine but I just can't get the instance group to work. The instance works fine when I use it's public IP.…
0
votes
1 answer

asp.net core api healthcheck

I'm adding a few healthchecks to my netcore website. One of them is checking whether the connection string is pointing to a database that has the support for in memory tables activated (essentially if the filegroup was created with the CONTAINS…
MaPi
  • 1,601
  • 3
  • 31
  • 64
0
votes
0 answers

AWS ALB Target Group shows unhealthy instances in a custom VPC

I am trying to achieve the following network topology. I want the EC2 instances in private subnets to receive http traffic on port 80 from application load balancer. For that I have launched EC2 instances in both the private subnets each. Also,…
Ashy Ashcsi
  • 1,529
  • 7
  • 22
  • 54
0
votes
1 answer

What is the "HealthCheck collector HostedService threw an error: Value cannot be null." mean?

Obviously something cannot be null - but I can't figure it out. I have a windows service that is self-hosted and has an endpoint that returns a HealthCheckResult. I then have a .Net Core Web Application that uses HealthChecks-UI. However, when I…
Brandon
  • 3,074
  • 3
  • 27
  • 44
0
votes
1 answer

Wordpress Site Health Cannot read property 'applyFilters' of undefined

wordpress version 5.6, PHP 7.4.10 64bit. Launching the Site Health page from the admin console I get this js error, visible through the chrome console: Uncaught TypeError: Cannot read property 'applyFilters' of undefined at Object.
0
votes
1 answer

How to health-check a service which makes http requests using database configuration in an IHealthCheck implementation?

I have 2 services that make Http requests with base url and authentication provided by a configuration table in a DbContext. I want to implement a healthcheck to see if a service call is successful or not and I have the code below for…
BigThinker
  • 81
  • 1
  • 11
0
votes
1 answer

Docker unable to access port

net core 5 application. I have added docker-file and running container which works fine. I have added health check into my application. In my application I have just added swagger and added sql health check. Below is my dockerfile FROM…
0
votes
1 answer

Haproxy http health check reuse connection

I'm try to config haproxy to reuse connection(http keep alive) for reduce TCP establish connection cost It's ok for normal request. But for health check, it's alway create new connection to check backend. How can we re-use a connection for health…
user3611168
  • 335
  • 1
  • 6
  • 27
0
votes
1 answer

Traefik healthcheck not working. 'Bad gateway' returned instead of redirect to active servers

I'm learning Traefik basics, but can't get health checking to work. I have four servers, which are docker containers. The rotation is working well, when refreshing the localhost page, it shows a different server each time. Even launching multiples…
0
votes
1 answer

Health checks are failing for NLB (Network load balancer)

I used the migration wizard to create a Network Load balanacer. And I noticed that there are no security groups associated with the NLB like there are for classic and application load balancers. So I checked the NLB name in network interfaces to…
0
votes
1 answer

Serilog filter RequestPath

I have problems to exclude healthchecks from serilog files. Serilog.Filters.Expressions are installed and the StatusCode=200 line will be filtered. appsettings: "Serilog": { "MinimumLevel": { "Default": "Verbose", "Override": { …
0
votes
1 answer

Spring Boot Actuator Health Groups with nested Indicators

I'm trying to configure Actuator's health probes to include checks for an external service that is nested beyond the first level. For example, when calling /actuator/health, these are the available health indicators: { "status":"DOWN", …