feat: add response time histogram metric
Some checks are pending
Cadoles/bouncer/pipeline/pr-master Build started...
Some checks are pending
Cadoles/bouncer/pipeline/pr-master Build started...
This commit is contained in:
@ -18,3 +18,12 @@ var metricProxyRequestsTotal = promauto.NewCounterVec(
|
||||
},
|
||||
[]string{metricLabelProxy},
|
||||
)
|
||||
|
||||
var metricProxyResponsesDurationSeconds = promauto.NewHistogramVec(
|
||||
prometheus.HistogramOpts{
|
||||
Name: "proxy_responses_duration_seconds",
|
||||
Help: "Bouncer proxy responses duration",
|
||||
Namespace: metricNamespace,
|
||||
},
|
||||
[]string{metricLabelProxy},
|
||||
)
|
||||
|
Reference in New Issue
Block a user