@Experimental(value="Micrometer metrics is a new addition to Geode and the API may change") public interface MetricsSession
MetricsPublishingService
s to publish the session's metrics to external monitoring
systems.
Experimental: Micrometer metrics is a new addition to Geode and the API may change.
Modifier and Type | Method and Description |
---|---|
void |
addSubregistry(io.micrometer.core.instrument.MeterRegistry registry)
Adds the given registry to this metrics session.
|
void |
removeSubregistry(io.micrometer.core.instrument.MeterRegistry registry)
Removes the given registry from this metrics session.
|
void addSubregistry(io.micrometer.core.instrument.MeterRegistry registry)
registry
- the registry to addvoid removeSubregistry(io.micrometer.core.instrument.MeterRegistry registry)
Caution: For each meter in this metrics session, this method deletes the corresponding meter from the given registry.
registry
- the registry to remove