1
0
mirror of https://github.com/prometheus-community/bind_exporter.git synced 2025-04-18 13:04:01 +03:00

Add metric 'rpz_rewrites' to serverMetricStats (#208)

* Add metric 'rpz_rewrites' to serverMetricStats

---------

Signed-off-by: Jonatan Raudsepp <jonatan.raudsepp@gmail.com>
Signed-off-by: Ben Kochie <superq@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
jon88 2024-11-06 12:38:01 +02:00 committed by GitHub
parent 3991247a0c
commit b21e42d278
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -202,6 +202,11 @@ var (
"Number of current recursive clients.",
nil, nil,
),
"RPZRewrites": prometheus.NewDesc(
prometheus.BuildFQName(namespace, "", "response_policy_zone_rewrites_total"),
"Number of response policy zone rewrites.",
nil, nil,
),
}
tasksRunning = prometheus.NewDesc(
prometheus.BuildFQName(namespace, "", "tasks_running"),