Skip to content

Identifier resolving

Daria edited this page Oct 30, 2015 · 2 revisions

In default configuration registered metrics identifier consists of prefix and value resolved by PlainMetricsIdentifierResolver - that is always metrics name itself. However there are two other implementations for id resolving are accessible. MappingMetricsIdentifierResolver is useful when metrics should be registered by id different from its name and there’s no access or desire to change metrics name itself. PathMetricsIdentifierResolver is useful for http request paths transformation to metrics identifiers, and is used for metrics-filter module.