Skip to content

Metric Names and Tags

baharclerode edited this page Apr 30, 2017 · 1 revision

Metric Names

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

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.

Framework

Metric Filter

Metric Name Service

Metric Name Formatter

Codahale Metrics

Naming

Injection

Interception

Gauges

The @Gauge and @CachedGauge annotation can be placed upon any parameterless method of a @Singleton-scoped component.

Clone this wiki locally