public class DropwizardMeasurementParser extends Object
DropwizardMeasurement line.
This transformer caches mappings from metric names to DropwizardMeasurement
objects to avoid extraneous regex matching and string parsing.| Modifier and Type | Method and Description |
|---|---|
static DropwizardMeasurementParser |
withTemplates(Map<String,TaggedPattern> metricTemplates)
Returns a new
DropwizardMeasurementParser with default DROPWIZARD_METRIC_MAPPINGS
and the user-provided metricTemplates. |
public static DropwizardMeasurementParser withTemplates(Map<String,TaggedPattern> metricTemplates)
DropwizardMeasurementParser with default DROPWIZARD_METRIC_MAPPINGS
and the user-provided metricTemplates.Copyright © 2017. All rights reserved.