Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negroni middleware records stats usage for the /stats route #9

Open
grafana-dee opened this issue Apr 2, 2015 · 1 comment
Open
Assignees

Comments

@grafana-dee
Copy link

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.

@thoas
Copy link
Owner

thoas commented Apr 3, 2015

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

Great idea.

@thoas thoas self-assigned this Apr 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants