William Petit
56609ec316
Some checks reported errors
Cadoles/bouncer/pipeline/head Something is wrong with the build of this commit
21 lines
450 B
Go
21 lines
450 B
Go
package director
|
|
|
|
import (
|
|
"github.com/prometheus/client_golang/prometheus"
|
|
"github.com/prometheus/client_golang/prometheus/promauto"
|
|
)
|
|
|
|
const (
|
|
metricNamespace = "bouncer_proxy_director"
|
|
metricLabelProxy = "proxy"
|
|
)
|
|
|
|
var metricProxyRequestsTotal = promauto.NewCounterVec(
|
|
prometheus.CounterOpts{
|
|
Name: "proxy_requests_total",
|
|
Help: "Bouncer proxy total requests",
|
|
Namespace: metricNamespace,
|
|
},
|
|
[]string{metricLabelProxy},
|
|
)
|