public class DropwizardTransformer extends Object
InfluxDbMeasurements.
Supports global tags, tagged templating, counter/gauge grouping, and per-metric tagging.
| Constructor and Description |
|---|
DropwizardTransformer(Map<String,String> baseTags,
DropwizardMeasurementParser parser,
boolean groupCounters,
boolean groupGauges,
TimeUnit rateUnit,
TimeUnit durationUnit) |
| Modifier and Type | Method and Description |
|---|---|
List<InfluxDbMeasurement> |
fromCounters(Map<String,com.codahale.metrics.Counter> counters,
long timestamp)
Build a List of
InfluxDbMeasurements from a counter map. |
List<InfluxDbMeasurement> |
fromGauges(Map<String,com.codahale.metrics.Gauge> gauges,
long timestamp)
Build a List of
InfluxDbMeasurements from a gauge map. |
List<InfluxDbMeasurement> |
fromHistograms(Map<String,com.codahale.metrics.Histogram> histograms,
long timestamp)
Build a List of
InfluxDbMeasurements from a histogram map. |
List<InfluxDbMeasurement> |
fromMeters(Map<String,com.codahale.metrics.Meter> meters,
long timestamp)
Build a List of
InfluxDbMeasurements from a meter map. |
List<InfluxDbMeasurement> |
fromTimers(Map<String,com.codahale.metrics.Timer> timers,
long timestamp)
Build a List of
InfluxDbMeasurements from a timer map. |
public List<InfluxDbMeasurement> fromTimers(Map<String,com.codahale.metrics.Timer> timers, long timestamp)
InfluxDbMeasurements from a timer map.public List<InfluxDbMeasurement> fromMeters(Map<String,com.codahale.metrics.Meter> meters, long timestamp)
InfluxDbMeasurements from a meter map.public List<InfluxDbMeasurement> fromHistograms(Map<String,com.codahale.metrics.Histogram> histograms, long timestamp)
InfluxDbMeasurements from a histogram map.public List<InfluxDbMeasurement> fromCounters(Map<String,com.codahale.metrics.Counter> counters, long timestamp)
InfluxDbMeasurements from a counter map.public List<InfluxDbMeasurement> fromGauges(Map<String,com.codahale.metrics.Gauge> gauges, long timestamp)
InfluxDbMeasurements from a gauge map.Copyright © 2017. All rights reserved.