stats icon indicating copy to clipboard operation
stats copied to clipboard

Negroni middleware records stats usage for the /stats route

Open grafana-dee opened this issue 10 years ago • 1 comments

It would be good if we could have the middleware not to record stats for the configured route that displays the /stats results.

Presently, viewing the stats counts towards the stats and thus affects the timings and counts.

grafana-dee avatar Apr 02 '15 15:04 grafana-dee

Right, sounds like also a way to ignore some urls and patterns :)

Great idea.

thoas avatar Apr 03 '15 14:04 thoas