Class PrometheusSupport

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

@Deprecated(since="4.5.0", forRemoval=true) public final class PrometheusSupport extends HelidonFeatureSupport
Deprecated, for removal: This API element is subject to removal in a future version.
use Helidon's built-in metrics implementation, which already supports Prometheus/OpenMetrics output, instead
Support for Prometheus client endpoint.

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


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