diff --git a/unbound_exporter.go b/unbound_exporter.go index db2780c..7e52279 100644 --- a/unbound_exporter.go +++ b/unbound_exporter.go @@ -230,6 +230,18 @@ var ( prometheus.GaugeValue, nil, "^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$"), } )