Commit 3dff59f8 authored by Felipe Andrade's avatar Felipe Andrade

semgrep

parent 4f78aa4e
......@@ -65,6 +65,7 @@ var LatencyBuckets = []float64{.025, .05, .1, .25, .5, 1, 2.5, 5, 10, 25, 50}
func NewPromHTTPRecorder(r *prometheus.Registry, ns string) HTTPRecorder {
return &PromHTTPRecorder{
// nosemgrep: todos_require_linear
// TODO: remove this in the future when services opted in to HTTPRequestLatency
HTTPRequestDuration: promauto.With(r).NewHistogramVec(prometheus.HistogramOpts{
Namespace: ns,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment