Owin Adapter - group route based metrics when route contains parameter (REST)
mft25 opened this issue · comments
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?
I have exactly the same problem. Without support for this it means choosing between Metrics.Net and RESTful APIs.