khan.dropwizard-header-metric.2.0.3.source-code.application.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-header-metric Show documentation
Show all versions of dropwizard-header-metric Show documentation
Create metrics and send it to the preferable reporter if request header matches any of the headers
configured to be measured.
server:
applicationConnectors:
- type: http
port: 0
adminConnectors:
- type: http
port: 0
# metrics
metrics:
frequency: 1 minute
reporters:
- type: console
output: stdout
timeZone: PST
durationUnit: milliseconds
rateUnit: seconds
traceHeaders:
headersToTraceJson: "{\"x-custom-header\": [\"x-custom-header-value1\", \"x-custom-header-value2\"], \"y-custom-header\": \"y-custom-header-value1\"}"
metricPrefix: HeaderMetric