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

Owin Adapter - group route based metrics when route contains parameter (REST) #111

Open
mft25 opened this issue Nov 12, 2015 · 1 comment

Comments

@mft25
Copy link

mft25 commented Nov 12, 2015

I have method routes such as the following:
/api/customer/{id:int}

I want the route based metrics to be grouped, in the same way that they would be if I used the following format for the route (ie. including the parameters in the request rather than the path):
/api/customer/get?id={id:int}

I expect that some configuration would have to be passed (similar to the ignore patterns) so that requests matching a particular regular expression can be grouped.

Is this possible?

@megrogan
Copy link

I have exactly the same problem. Without support for this it means choosing between Metrics.Net and RESTful APIs.

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

2 participants