opentracing-contrib / opentracing-contrib/java-spring-cloud
Dependency to opentracing-spring-jaeger-cloud-starter removes "http_server_requests_seconds_count" metric since SpringBoot 2.7.0
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 399
- Forks
- 143
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 22
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with SpringBoot 2.7.0 and io.opentracing.contrib:opentracing-spring-jaeger-cloud-starter:3.3.1, then inspect how the starter handles incoming uber-trace-id headers and HTTP request metrics. Verify that http_server_requests_seconds_count and http_server_requests_seconds_sum disappear with the dependency and remain available without it; done means the compatibility cause and a focused fix or confirmed limitation are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- backend, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100