Package io.camunda.zeebe.shared
Class MetricRegistration
java.lang.Object
io.camunda.zeebe.shared.MetricRegistration
- All Implemented Interfaces:
io.micrometer.core.instrument.binder.MeterBinder
@Configuration(proxyBeanMethods=false)
public final class MetricRegistration
extends Object
implements io.micrometer.core.instrument.binder.MeterBinder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbindTo(io.micrometer.core.instrument.MeterRegistry registry) io.prometheus.client.CollectorRegistry
-
Constructor Details
-
MetricRegistration
public MetricRegistration()
-
-
Method Details
-
bindTo
public void bindTo(io.micrometer.core.instrument.MeterRegistry registry) - Specified by:
bindToin interfaceio.micrometer.core.instrument.binder.MeterBinder
-
collectorRegistry
@Bean @ConditionalOnMissingBean public io.prometheus.client.CollectorRegistry collectorRegistry()
-