-
Notifications
You must be signed in to change notification settings - Fork 3
Metric Names and Tags
baharclerode edited this page Apr 30, 2017
·
1 revision
To allow better control over how injected metrics are named, this bundle provides a name filtering service which makes it possible for multiple bundles to contribute towards the naming of a metric, as well as add tags to a metric and
Tags allow additional contextual information to be encoded into the name of a metric, making it possible to subdivide a metric by HTTP operation, client IP, or any other key-value pair available at the time the metric is injected or created.
The @Gauge
and @CachedGauge
annotation can be placed upon any parameterless method of a @Singleton
-scoped component.