Is it possible to customize metricServerReqDur buckets ? #3667
Labels
area/metrics
Categorizes issue or PR as related to metrics.
feature
Marks an issue or PR as related to a new feature.
stale
In the
rest/handler/prometheushandler.go
fileThe biggest of bucket is 1000, however, in the service we use, we need to request third-party service, which may last more than 1s. So the metrics are always a straightness line....
But if I write a customized middleware like:
It works. But if a request URL is
/resource/:id
, there will be too many metrics likeresource/1 resource/2
. Not stored asresource/:id
The text was updated successfully, but these errors were encountered: