Class MapperConfig
Object
MapperConfig
POJO containing info on how to map a graphite metric to a prometheus one. Example mapping in yaml
format:
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 Summary
ConstructorsConstructorDescription -
Method Summary
-
Constructor Details
-
MapperConfig
public MapperConfig() -
MapperConfig
-
-
Method Details
-
toString
-
getMatch
-
setMatch
-
getName
-
setName
-
getLabels
-
setLabels
-
equals
-
hashCode
-