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

micrometer-registry-prometheus root path stopped working with spring boot 3 #3839

Closed
pavelorehov opened this issue May 15, 2023 · 1 comment
Labels
for: external-project For an external project and not something we can fix invalid An issue that we don't feel is valid

Comments

@pavelorehov
Copy link

Below worked fine with Spring Boot 2.7.11 and earlier, stopped working with Spring Boot 3.

http://host:8989/metrics
{"timestamp":"2023-05-15T08:17:22.903+00:00","status":404,"error":"Not Found","path":"/metrics/"}

Tested other health endpoint with root - works as expected.

management.server.port=8989
management.server.base-path=/metrics
management.endpoints.web.base-path=/
management.endpoints.web.path-mapping.prometheus=/

Works for health:
management.server.port=8989
management.server.base-path=/metrics
management.endpoints.web.base-path=/
management.endpoints.web.path-mapping.health=/

@bclozel
Copy link
Contributor

bclozel commented May 15, 2023

Please raise this issue against Spring Boot, as this infrastructure is managed in the Spring Boot project directly.

@bclozel bclozel closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2023
@bclozel bclozel added invalid An issue that we don't feel is valid for: external-project For an external project and not something we can fix and removed waiting-for-triage labels May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix invalid An issue that we don't feel is valid
Projects
None yet
Development

No branches or pull requests

2 participants