v1.25.0
This commit is contained in:
commit
37107940ef
654 files changed
+67122
No files matched your search
@@ -0,0 +1,14 @@
|
||||
package challenge
|
||||
|
||||
import (
|
||||
"math"
|
||||
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/prometheus/client_golang/prometheus/promauto"
|
||||
)
|
||||
|
||||
var TimeTaken = promauto.NewHistogramVec(prometheus.HistogramOpts{
|
||||
Name: "anubis_time_taken",
|
||||
Help: "The time taken for a browser to generate a response (milliseconds)",
|
||||
Buckets: prometheus.ExponentialBucketsRange(1, math.Pow(2, 20), 20),
|
||||
}, []string{"method"})
|
||||
Reference in new issue
Block a user