Added msg.cache.count and rrset.cache.count gauges.
This commit is contained in:
parent
4f36729f55
commit
f043abe536
|
@ -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$"),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue