-
Notifications
You must be signed in to change notification settings - Fork 67
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
Exclude /metrics route #68
Comments
Hi. The |
HI @disjunction, Thanks for your quick reply. @piks2252 and me works on same team. |
I'm afraid it's due to the way you use the module or a potential conflict with multiple prom clients. Could you provide the how the |
... and if you do anything directly with |
Hi @disjunction ,Thanks. we were running swagger-stats as well in our Application server. |
Thanks @disjunction for your support. |
Hello,
First of all thank you so much for this library, I appreciate you hard word,
Now i don't want to display
/metrics
request in my grafana dashboard, Is there any way to exclude/metrics
routeI tried
app.use("/((?!metrics))*", promBundle({includePath: true}));
, but It blocks the/metrics
and returns no route found which was the only access point (target) for my Prometheus server to access metrics data.I just want to exclude "/metrics" path in my collection which is polluting my app's APIs.
Thanks
The text was updated successfully, but these errors were encountered: