This topic discusses VMware GemFire Micrometer meters and tags.
Micrometer meters are similar to GemFire statistics in that they have different types. GemFire uses the three main meter types: counter, gauge, and timer.
There are other types of meters available in Micrometer, but they are not currently being used in Tanzu GemFire.
Every meter in Micrometer has the following attributes, but may also have more than these depending on the meter type:
Name
: a lowercase, ‘dot’ delimited nameDescription
: a short text description of the meterValue
: the value of the meter, always a numberUnits
: the unit of the valueTags
: key/value string pairs to define facts about the meterTanzu GemFire has been instrumented with a set of Micrometer provided meters, called binders, which contain one or many individual meters with pre-defined types and tags. The following are a subset of the Micrometer binders that have been added to Tanzu GemFire:
JVM specific
Operating System specific
There are Tanzu GemFire specific meters that have been instrumented to allow developers to monitor certain aspects of the Tanzu GemFire cluster. The namespace used for these metrics includes the Apache Geode (e.g. geode.*) product name as a means to distinguish this meter from others similar to it in downstream systems. The following meters have been added to Tanzu GemFire:
Meter: | geode.cache.entries |
---|---|
Type: | Gauge |
Description: | The current count of entries in the cache for this member (locators will not have this metric) |
Tag: | region: The name of the region associated with the count of entries |
Tag: | data.policy: The data policy described for these regions, see RegionShortcuts for Peers and Servers |
Meter: | geode.function.executions |
---|---|
Type: | Timer |
Description: | A total time and count for any execution that completed without errors of this function on this member. |
Tag: | Function: The name or class of the function |
Tag: | Succeeded: true/false |
Meter: | geode.gateway.receiver.events |
---|---|
Type: | Counter |
Description: | The total number of events received by this GatewayReceiver |
Meter: | geode.cache.gets |
---|---|
Type: | Timer |
Description: | A total time and count for any get operation performed against the cache server for this member. Get operations that circumvent the cache server, such as REST calls, gfsh operations, and peer-to-peer operations, are not counted. Locators will not have this metric. |
Tag: | region: The name of the region associated with the count of entries |
Tag: | result: hit/miss |
Tanzu GemFire meters all contain tags, also referred to as labels or dimensions, depending upon which Application Performance Monitoring (APM) tool is being utilized. Micrometer offers a concept of common
tags that exist on every meter within a meter registry. In Tanzu GemFire, the following common tags have been provided to add context to each meter:
cluster
: The distributed system id associated with this memberhost
: The hostname the member exists on, could be the same as another if collocatedmember
: the member name provided at startup timemember.type
: locator, server, locator-serverPlease submit a pull request to Apache Geode if there are more metrics you would like to see added to Tanzu GemFire.