Questions tagged [health-monitoring]

Health monitoring gives an easy way to monitor the overall health of an application and the underlying systems

Health monitoring gives an easy way to monitor the overall health of an application and the underlying systems and can get detailed run-time information about resources; Health monitoring provides interfaces with alerting (automatic email to admistrators) and to configure tasks to be performed automatically to restore the functioning of the application to the occurrence of critical situations.

489 questions
104
votes
3 answers

How to view docker-compose healthcheck logs?

Inside my docker-compose.yml, I have the following service healthcheck section. I want to know if MariaDB is actually ready to handle queries. A service named cmd is configured to depend on condition: service_healthy. db: image: mariadb:10 …
Jacob Marble
  • 28,555
  • 22
  • 67
  • 78
90
votes
7 answers

Restarting an unhealthy docker container based on healthcheck

I am using Docker version 17.09.0-ce, and I see that containers are marked as unhealthy. Is there an option to get the container restart instead of keeping the container as unhealthy?
Govind Kailas
  • 2,645
  • 5
  • 22
  • 24
30
votes
8 answers

How do you log errors (Exceptions) in your ASP.NET apps?

I'm looking for the best way to log errors in an ASP.NET application. I want to be able to receive emails when errors occurs in my application, with detailed information about the Exception and the current Request. In my company we used to have our…
Costo
  • 5,940
  • 8
  • 33
  • 35
22
votes
2 answers

Official SDK/API for Mi and other smart Band

We want to develop an android application to support MiBand and Other Smart bands. We want to fetch information like Heart rate etc. from Smart Band via BLE and display it in a mobile application. How can we get that information from the device? Is…
Ankit Thakkar
  • 422
  • 1
  • 4
  • 10
22
votes
5 answers

How to inject dependencies inside an ASP.NET Core Health Check

I'm trying to use the new ASP.NET Code 2.2 Healthchecks feature. In this link on the .net blog, it shows an example: public void ConfigureServices(IServiceCollection services) { //... services .AddHealthChecks() .AddCheck(new…
21
votes
5 answers

Should Health Checks call other App Health Checks

I have two API's A and B that I control and both have readiness and liveness health checks. A has a dependency on B. A /foo - This endpoint makes a call to /bar in B /status/live /status/ready B /bar /status/live /status/ready Should the readiness…
21
votes
2 answers

Spring Boot - Change the location of the /health endpoint to /ping/me

I set the endpoints.health.path property to /ping/me. But I cannot access the endpoint using http://localhost:9000/ping/me It only works with http://localhost:9000/health. What am I missing ? Here is the code in app properties file. #Configuration…
20
votes
3 answers

StatsD and Graphite-like tools for .Net and Windows

I was recently sent this link to Statsd which would be an interesting tool for us to monitor various aspects of our product, but it would be a hard-sell for us because of the PHP and non-Windows toolset. (This question asks about installing this on…
Nij
  • 2,028
  • 2
  • 22
  • 27
15
votes
4 answers

What should the HTTP Status Code of a Degraded Health Check Be?

I have a health check endpoint at /status that returns the following status codes and response bodies: Healthy - 200 OK Degraded - ? Unhealthy - 503 Service Unnavailable What should the HTTP status code be for a degraded response be? A 'degraded'…
14
votes
2 answers

How to monitor c3p0 connections

I am using Hibernate in my JBoss war, using c3p0 for connection pooling, both configured within a hibernate.cfg.xml config file in my classpath
Llistes Sugra
  • 991
  • 4
  • 9
  • 24
13
votes
1 answer

How to implement custom health checks for EC2 instances without using an ELB?

Scenario: I'm running an EC2 instance behind an auto-scaling group, but I'm not using an ELB. Inside the EC2 instance, a docker container with a web server is running. I would like to add a simple health check that the web server does still…
Philipp Claßen
  • 41,306
  • 31
  • 146
  • 239
13
votes
1 answer

REST API for Apple Health Data

Is there any REST API support for health data by Apple? I know healthkit api helps to send and receive data from apple health data store but it is very much restricted to ios apps. What i am trying to achieve is to utilize the send/receive from any…
12
votes
2 answers

ASP.NET Web App Logging using Health Monitoring not working

I am using VS2005 C# 2.0 and SQL Server 2005. I am referring to this guide on configuring Health Monitoring. At the end of the guide, there will be a button on Default.aspx and on_Click of the button, a new record will be inserted into my SQL…
gymcode
  • 4,431
  • 15
  • 72
  • 128
12
votes
1 answer

HealthMonitoring Failure Audits Repercussions in ASP.NET

Our event viewer shows two information-level messages that we want to omit from the event logs: When a user fails authentication (Event code: 4006 Event message: Membership credential verification failed.) When forms authentication has expired and…
12
votes
4 answers

How to fill redis with redis-cli with dummy data of size weigh hundreds of MB?

I am getting my hand dirty with redis monitoring. So far I came up with this metrics useful to monitor about redis: memory_used through put latency connections replication I am newbie on this. I am trying to fill the redis from redis-cli with…
thapakazi
  • 341
  • 3
  • 11
1
2 3
32 33