-
MetricsModule.healthCheck(String name,
com.codahale.metrics.health.HealthCheck check)
Append a health check to the HealthCheckRegistry.
Append a health check to the HealthCheckRegistry.
MetricsModule.metric(String name,
com.codahale.metrics.Metric metric)
Append a metric to the MetricRegistry, this call is identical to MetricRegistry.register(String, Metric).
Append a metric to the MetricRegistry.
Append a simple ping handler that results in a 200 responses with a pong
body.
MetricsModule.reporter(BiFunction<com.codahale.metrics.MetricRegistry,com.typesafe.config.Config,com.codahale.metrics.Reporter> callback)
Append a Reporter to the MetricRegistry.
MetricsModule.reporter(Function<com.codahale.metrics.MetricRegistry,com.codahale.metrics.Reporter> callback)
Append a Reporter to the MetricRegistry.
Append a handler that prints thread states (a.k.a thread dump).