@Experimental(value="Micrometer metrics is a new addition to Geode and the API may change") public interface MetricsSession
Modifier and Type | Method and Description |
---|---|
void |
addSubregistry(io.micrometer.core.instrument.MeterRegistry subregistry)
Adds the given registry to the cache's composite registry.
|
void |
removeSubregistry(io.micrometer.core.instrument.MeterRegistry subregistry)
Removes the given registry from the cache's composite registry.
|
void addSubregistry(io.micrometer.core.instrument.MeterRegistry subregistry)
subregistry
- the registry to addvoid removeSubregistry(io.micrometer.core.instrument.MeterRegistry subregistry)
Caution: This method deletes from the sub-registry each meter that corresponds to a meter in the cache's composite registry.
subregistry
- the registry to remove