Class PrometheusSupport

java.lang.Object
io.helidon.webserver.servicecommon.HelidonFeatureSupport
io.helidon.metrics.prometheus.PrometheusSupport
All Implemented Interfaces:
HttpFeature, ServerLifecycle, FeatureSupport, Supplier<HttpFeature>

public final class PrometheusSupport extends HelidonFeatureSupport
Support for Prometheus client endpoint.

Default and simplest use on HttpRouting creates /metrics endpoint for default CollectorRegistry.


 HttpRouting.builder()
        ..addFeature(PrometheusSupport.create())