-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Question: How to avoid WARN actix_web_prom: Cannot build mixed cardinality pattern
?
#82
Comments
Hi I noticed that it successfully excludes the paths, but continues showing the warning in logs |
Hi @helio-frota, Can you try to point your branch at I just pushed the change below (I've linked the code entry) which should give me better visibility on the problem. As it stands it seems that the warning is appearing because the params passed to the endpoint aren't parsed properly but this should help. Line 800 in 9fbe5b9
|
@nlopes hi, thanks for the feedback, I found the place where this happened https://github.com/nlopes/actix-web-prom/pull/83/files |
Okay I think this is my fault, in code introduced in #73. The root issue is in the code that build a mixed pattern: The The issue is that the way we parse the match pattern with |
Hi, I'm excluding
swagger-ui
but I'm still seeing a warning in logsAm I using the correct approach? thanks
The text was updated successfully, but these errors were encountered: