We currently use slok/go-http-metrics lib to provide a middleware for HTTP metrics. For more flexibility (and experience !) we should rewrite this middleware ourselves using prometheus-cllient . It would be especially useful to prevent high-cardinality labels on some routes ourselves, applying the middleware globally once and not like currently configured for each route.
We currently use slok/go-http-metrics lib to provide a middleware for HTTP metrics. For more flexibility (and experience !) we should rewrite this middleware ourselves using prometheus-cllient . It would be especially useful to prevent high-cardinality labels on some routes ourselves, applying the middleware globally once and not like currently configured for each route.