Skip to content

Separate pekko route from http server instrumentation#15499

Merged
laurit merged 1 commit intoopen-telemetry:mainfrom
laurit:pekko-route
Dec 2, 2025
Merged

Separate pekko route from http server instrumentation#15499
laurit merged 1 commit intoopen-telemetry:mainfrom
laurit:pekko-route

Conversation

@laurit
Copy link
Copy Markdown
Contributor

@laurit laurit commented Dec 1, 2025

Resolves #15457
In play applications org.apache.pekko.http.scaladsl.server.PathMatcher might be missing which causes muzzle to fail for the server instrumentation. This PR moves the virtual field used by the route instrumentation out from PekkoHttpServerSingletons that is used by the server instrumentation so that server instrumentation could work even when the classes for route instrumentation are missing. This is a regression from indy conversion.

@laurit laurit requested a review from a team as a code owner December 1, 2025 14:34
@laurit laurit merged commit d0bdd89 into open-telemetry:main Dec 2, 2025
85 checks passed
@laurit laurit deleted the pekko-route branch December 2, 2025 05:57
@gaeljw
Copy link
Copy Markdown

gaeljw commented Dec 2, 2025

Thanks @laurit 👏

123liuziming pushed a commit to 123liuziming/opentelemetry-java-instrumentation that referenced this pull request Dec 3, 2025
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

Successfully merging this pull request may close these issues.

HTTP server metrics not exposed anymore in 2.22.0 (Pekko HTTP)

3 participants