httpServer

fun httpServer(block: PrometheusHttpServerConfig.() -> Unit = {}): EmbeddedServer<NettyApplicationEngine, NettyApplicationEngine.Configuration>

Launches an embedded HTTP server exposing Prometheus metrics.