Added msg.cache.count and rrset.cache.count gauges.

This commit is contained in:
Jon Bidinger 2018-08-24 19:48:23 -05:00
parent 4f36729f55
commit f043abe536
1 changed files with 12 additions and 0 deletions

View File

@ -230,6 +230,18 @@ var (
prometheus.GaugeValue, prometheus.GaugeValue,
nil, nil,
"^total\\.recursion\\.time\\.median$"), "^total\\.recursion\\.time\\.median$"),
newUnboundMetric(
"msg_cache_count",
"The Number of Messages cached",
prometheus.GaugeValue,
nil,
"^msg\\.cache\\.count$"),
newUnboundMetric(
"rrset_cache_count",
"The Number of rrset cached",
prometheus.GaugeValue,
nil,
"^rrset\\.cache\\.count$"),
} }
) )