Skip to content

Dependency to opentracing-spring-jaeger-cloud-starter removes "http_server_requests_seconds_count" metric since SpringBoot 2.7.0 #338

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

Open
lathspell opened this issue Jun 17, 2022 · 0 comments

Comments

@lathspell
Copy link

After upgrading to SpringBoot 2.7.0 I noticed that the Prometheus metrics "http_server_requests_seconds_count" and "http_server_requests_seconds_sum" were gone. All other metrics are still there.

I narrowed the problem down to the dependency to io.opentracing.contrib:opentracing-spring-jaeger-cloud-starter:3.3.1.
Whenever this dependency is added, the above metric vanishes.

I guess that opentracing somehow registeres itself as some kind of HTTP request filter to process incoming "uber-trace-id" headers and does this in a way that used to work but is no longer compatible with the way SpringBoot works.

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

No branches or pull requests

1 participant