Tanzu GemFire uses Micrometer to provide an interface for emitting user-focused metrics, instrumented in code, to a variety of consuming Application Performance Monitoring (APM) tools. Tanzu GemFire has Micrometer instrumentation added to a subset of information available, which can be easily emitted from a Meter Registry.
By default, Micrometer is enabled and can emit metrics to any meter registry. However, time-based meters are available only when the time-statistics
property is enabled.
The API is currently marked experimental. The MetricsSession
and MetricsPublishingService
interfaces may change.
Micrometer configuration and publishing
Using Micrometer may require configuration. To emit Micrometer metrics to one of the supported APM tools, or to a custom format or tool, you must use a Meter Registry and accompanying publishing service.
Tanzu GemFire contains a set of meters – instrumented statistics – that provide information about each cluster member. Each member within a Tanzu GemFire cluster can emit a set of meters of different types, timers, gauges, and counters specific to the member. Each meter has a set of common tags, a name/value pair, that help users identify where a meter is located in the cluster. Meter-specific tags also exist.