io.pedestal.metrics.codahale

added in 0.7.0

deprecated in 0.7.0

Extends the MetricSource SPI to the Codahale metrics library supplied by DropWizard.

Note that Codahale metrics do not have an equivalent concept to tags, so any tags are ignored.

This exists to make it possible to continue using Codahale metrics (the standard through Pedestal 0.6) with Pedestal 0.7.

default-registry

(default-registry)

get-counter

(get-counter source metric-name)

get-gauge

(get-gauge source metric-name)

get-timer

(get-timer source metric-name)

MetricRegistrySource

protocol

members

metric-registry

(metric-registry source)

Returns the underlying MetricRegistry from a MetricSource.

This is primarily intended for tests.

wrap-registry

(wrap-registry registry)