Registry / observability / metrics-healthchecks

metrics-healthchecks

JSON →
library4.2.38javamavenunverified

An addition to Metrics which provides the ability to run application-specific health checks, allowing you to check your application's health in production.

<dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-healthchecks</artifactId> <version>4.2.38</version> </dependency>
INSTALL
IMPORT
SIG · METRICS-HEALTHCHEC
M
metrics-healthchecks
observabilityjavav4.2.38
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HealthCheck
com.codahale.metrics.health.HealthCheck

Defines a simple health check that returns healthy.

import com.codahale.metrics.health.HealthCheck; public class HealthCheckExample extends HealthCheck { @Override protected Result check() throws Exception { return Result.healthy(); } public static void main(String[] args) { HealthCheckExample check = new HealthCheckExample(); System.out.println("Health check result: " + check.execute()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.2.38latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
10
OpenAI (training)
3
Resources
metrics-healthchecks — mvn dependency:get metrics-healthchecks · libregistry