Fix forward metrics for backwards compatibility (#6178)
This commit is contained in:
parent
6e1263d3d9
commit
ea293da1d6
14 changed files with 87 additions and 78 deletions
|
@ -9,13 +9,14 @@ import (
|
|||
|
||||
// Variables declared for monitoring.
|
||||
var (
|
||||
HealthcheckBrokenCount = promauto.NewCounter(prometheus.CounterOpts{
|
||||
healthcheckBrokenCount = promauto.NewCounter(prometheus.CounterOpts{
|
||||
Namespace: plugin.Namespace,
|
||||
Subsystem: "forward",
|
||||
Name: "healthcheck_broken_total",
|
||||
Help: "Counter of the number of complete failures of the healthchecks.",
|
||||
})
|
||||
MaxConcurrentRejectCount = promauto.NewCounter(prometheus.CounterOpts{
|
||||
|
||||
maxConcurrentRejectCount = promauto.NewCounter(prometheus.CounterOpts{
|
||||
Namespace: plugin.Namespace,
|
||||
Subsystem: "forward",
|
||||
Name: "max_concurrent_rejects_total",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue