MetricsDsl

object MetricsDsl

Provides a Kotlin DSL for constructing Dropwizard HealthCheck instances.

Functions

Link copied to clipboard
fun healthCheck(block: HealthCheck.() -> HealthCheck.Result): HealthCheck

Creates a HealthCheck whose HealthCheck.check method is defined by the given lambda.