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

Matches prefix only #118

Open
AlexXi19 opened this issue Nov 1, 2023 · 0 comments
Open

Matches prefix only #118

AlexXi19 opened this issue Nov 1, 2023 · 0 comments

Comments

@AlexXi19
Copy link

AlexXi19 commented Nov 1, 2023

I'm trying to ignore the "/" route in express, after looking into the source code, i believe that it does a string contains, which doesn't result in an exact match, but a substring. Is this intended?

https://github.com/PayU/prometheus-api-metrics/blob/master/src/utils.js#L21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant