Interface MetricsPublisher
- All Superinterfaces:
NamedService
- All Known Implementing Classes:
OtlpPublisher, PrometheusPublisher
Behavior common to all metrics publishers.
-
Method Summary
Methods inherited from interface NamedService
name, typeModifier and TypeMethodDescriptionname()Name of this implementation, as provided inConfiguredProvider.create(Config, String).type()Type of this implementation, to distinguish instances of same type, with differentNamedService.name().
-
Method Details
-
enabled
boolean enabled()Whether this publisher is enabled.- Returns:
- true if enabled, false otherwise
-