aboutsummaryrefslogtreecommitdiff
path: root/plugin/reload/metrics.go
blob: 1f790d4c1e71271ed7ed9852084758a2cec775af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package reload

import (
	"github.com/coredns/coredns/plugin"

	"github.com/prometheus/client_golang/prometheus"
)

// Metrics for the reload plugin
var (
	FailedCount = prometheus.NewCounter(prometheus.CounterOpts{
		Namespace: plugin.Namespace,
		Subsystem: "reload",
		Name:      "failed_count_total",
		Help:      "Counter of the number of failed reload attempts.",
	})
)