Merge pull request #6 from hightoxicity/feat-recursive-avg-median

Push avg and median
This commit is contained in:
Ed Schouten 2017-11-21 13:45:03 +01:00 committed by GitHub
commit 01935206bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,6 +218,18 @@ var (
prometheus.CounterValue,
nil,
"^unwanted\\.replies$"),
newUnboundMetric(
"recursion_time_seconds_avg",
"Average time it took to answer queries that needed recursive processing (does not include in-cache requests).",
prometheus.GaugeValue,
nil,
"^total\\.recursion\\.time\\.avg$"),
newUnboundMetric(
"recursion_time_seconds_median",
"The median of the time it took to answer queries that needed recursive processing.",
prometheus.GaugeValue,
nil,
"^total\\.recursion\\.time\\.median$"),
}
)