DropwizardMetricWriter
@Deprecated public class CodahaleMetricWriter extends DropwizardMetricWriter
MetricWriter
that send data to a Codahale MetricRegistry
based on a
naming convention:
DropwizardMetricWriter.increment(Delta)
with names in "meter.*" are treated as
Meter
eventsCounter
valuesDropwizardMetricWriter.set(Metric)
with names in "histogram.*" are treated as
Histogram
updatesDropwizardMetricWriter.set(Metric)
with names in "timer.*" are treated as Timer
updatesGauge
values (single valued
measurements of type double)Constructor and Description |
---|
CodahaleMetricWriter(com.codahale.metrics.MetricRegistry registry)
Deprecated.
Create a new
DropwizardMetricWriter instance. |
public CodahaleMetricWriter(com.codahale.metrics.MetricRegistry registry)
DropwizardMetricWriter
instance.registry
- the underlying metric registryCopyright © 2015 Pivotal Software, Inc.. All rights reserved.