java.lang.Object
io.helidon.metrics.prometheus.PrometheusSupport
- All Implemented Interfaces:
Service
Support for Prometheus client endpoint.
Default and simplest use on Routing creates /metrics endpoint
for default CollectorRegistry.
Routing.builder()
.register(PrometheusSupport.create())
It is possible to use
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PrometheusSupport.Builderbuilder()Creates newBuilderinstance.static PrometheusSupportcreate()Creates new instance using default PrometheusCollectorRegistry.static PrometheusSupportcreate(CollectorRegistry collectorRegistry) Creates new instance using specified PrometheusCollectorRegistry.voidupdate(Routing.Rules rules) UpdatesRouting.Ruleswithhandlersrepresenting this service.
-
Method Details
-
update
Description copied from interface:ServiceUpdatesRouting.Ruleswithhandlersrepresenting this service. -
create
Creates new instance using specified PrometheusCollectorRegistry. -
create
Creates new instance using default PrometheusCollectorRegistry.- Returns:
- new instance
- See Also:
-
builder
Creates newBuilderinstance.- Returns:
- the new instance
- See Also:
-