We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb590f6 commit c0a6f6bCopy full SHA for c0a6f6b
1 file changed
backend/apid/apid.go
@@ -92,15 +92,15 @@ type Config struct {
92
var (
93
RequestCount = prometheus.NewCounterVec(
94
prometheus.CounterOpts{
95
- Name: "http_requests_total",
+ Name: "sensu_go_http_requests_total",
96
Help: "Total number of HTTP requests",
97
},
98
[]string{"method", "path"},
99
)
100
101
RequestDuration = prometheus.NewHistogramVec(
102
prometheus.HistogramOpts{
103
- Name: "http_request_duration_seconds",
+ Name: "sensu_go_http_request_duration_seconds",
104
Help: "Histogram of request durations",
105
Buckets: prometheus.DefBuckets, // [0.005, 0.01, ..., 10.24]
106
@@ -109,7 +109,7 @@ var (
109
110
ClientErrorCount = prometheus.NewCounterVec(
111
112
- Name: "http_client_errors_total",
+ Name: "sensu_go_http_client_errors_total",
113
Help: "Total number of 4xx HTTP responses",
114
115
[]string{"method", "path", "status"},
0 commit comments