public class MapperConfig extends Object
match: test.dispatcher.*.*.* name: dispatcher_events_total labels: action: ${1} outcome: ${2}_out processor: ${0} status: ${1}_${2}
Dropwizard metrics that match the "match" pattern will be further processed to have a new name and new labels based on this config.
| Constructor and Description |
|---|
MapperConfig() |
MapperConfig(String match,
String name,
Map<String,String> labels) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Map<String,String> |
getLabels() |
String |
getMatch() |
String |
getName() |
int |
hashCode() |
void |
setLabels(Map<String,String> labels) |
void |
setMatch(String match) |
void |
setName(String name) |
String |
toString() |
public MapperConfig()
Copyright © 2019. All rights reserved.