Skip to content
New issue

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

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

Already on GitHub? # to your account

Pass the operation down to SwaggerHttp client so that interceptors ca… #914

Merged
merged 1 commit into from
Dec 30, 2016

Conversation

djMax
Copy link
Contributor

@djMax djMax commented Dec 30, 2016

…n get it.

The use case is that we are using request/response interceptors to log Prometheus metrics, but using the URL as the counter name is suboptimal. By passing the operation that caused the HTTP call, we can get cleaner metrics.

@fehguy fehguy merged commit 20cea5a into swagger-api:master Dec 30, 2016
@djMax djMax deleted the mm_pass_operation branch December 30, 2016 19:09
@fehguy fehguy modified the milestone: v2.1.27 Jan 2, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants