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
Prevent tracking of specific routes #36
Comments
Hi ! Could you kindly elaborate more on your scenarios ? I'd like to get a better sense of what kind of options to put in place to enable configurable tracking of endpoints ... for example, may consider introducing option to enable/disable tracking of all endpoints that are not in swagger, or explicitly specify an array of endpoints to track in options ... any details on your specific needs will help ! |
Thanks for getting back to me!
and route 2 which I also want to track which would be
Currently, both hits to these endpoints show up in swagger-stats as:
I was hoping there would be an option to separate it out specifically as I wanted to track which of the two issues |
Thanks! Could you give me a sample how /iwanttotrack/issue1 is defined in your swagger spec ? |
As of now it's a very simple definition
Nothing else to it. |
now you can specify option
|
I don't believe this is solving the problem that the author of this issue described. However I also think that this tool should not do what he wants for reasons related to #34. |
Hello!
If I create a swagger doc to track specific URL, let's give an example I want to track
/iwanttotrack/certainIssue
But this URL falls under a routing system that does
/iwanttotrack/:issue
As of now,
swagger-stats
tracks both. Is there a way that I can prevent the tracking of the latter route and only track the specific URL that I want it to track?Thanks!
The text was updated successfully, but these errors were encountered: