-
Notifications
You must be signed in to change notification settings - Fork 6k
Spring Security metric names should not contain dashes #13660
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
Milestone
Comments
Hi, @Ducius6. Yes, let's make the change and remove the Are you able to provide a PR? |
Yes, sure. Will do! |
Hi, created PR here |
jzheaux
pushed a commit
to Ducius6/spring-security
that referenced
this issue
Oct 30, 2023
jzheaux
added a commit
to Ducius6/spring-security
that referenced
this issue
Oct 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When upgrading to Spring Boot 3 we had issue in new spring security metrics exposed with Micrometer. Issue seems to be that these metrics end up having "-" in it's name.
And since we are using prometheus, scraping/parsing of metrics did not work since prometheus can't have dash in it's metric name.
Exact metric that was causing the issue is "spring_security_filterchains_session_url-encoding_before_total" which is located in ObservationFilterChainDecorator.class.
Should naming of these metrics change so it can be used with prometheus?
The text was updated successfully, but these errors were encountered: