chore: update prometheus bucket

This commit is contained in:
Paul Pan 2023-12-31 23:12:27 +08:00
parent 7ee34fecbe
commit 8d3b50fa77
Signed by: Paul
GPG Key ID: D639BDF5BA578AF4

View File

@ -61,7 +61,7 @@ func (s *service) setup(namespace string, subsystem string) {
Subsystem: subsystem, Subsystem: subsystem,
Name: "requests_details", Name: "requests_details",
Help: "Details of each request", Help: "Details of each request",
Buckets: []float64{0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5, 10, 25, 50, 100, 250, 500, 1000}, Buckets: []float64{0.01, 0.05, 0.1, 0.25, 0.5, 1, 1.5, 2, 2.5, 3, 5, 10, 15, 20, 25, 50, 75, 100, 150, 200, 500, 750, 1000, 1500, 2000},
}, },
[]string{"method", "url", "success", "http_code", "err_code"}, []string{"method", "url", "success", "http_code", "err_code"},
) )