Class MapperConfig


  • public class MapperConfig
    extends Object
    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.