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

go-metrics wrappers that inspect the URL #25

Open
rcrowley opened this issue Aug 5, 2013 · 2 comments
Open

go-metrics wrappers that inspect the URL #25

rcrowley opened this issue Aug 5, 2013 · 2 comments

Comments

@rcrowley
Copy link
Owner

rcrowley commented Aug 5, 2013

It's verbose to have to define a timer for every route when they're all the same except for the metric which can be determined from the request itself.

@rcrowley
Copy link
Owner Author

This should be part of TrieServeMux, otherwise it's going to be very locky.

See also rcrowley/go-metrics#25.

@rcrowley
Copy link
Owner Author

rcrowley commented Jan 4, 2014

#51 has part of this with CountedByStatus and CountedByStatusXX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant