Replies: 2 comments 2 replies
-
It is not implemented. I have improved the instrumentation in #9486 You can try it out with https://github.com/open-telemetry/opentelemetry-java-instrumentation/actions/runs/6219392873#artifacts (download the build artifact and unzip it, it should contain the agent jar) and let us know whether it works any better. |
Beta Was this translation helpful? Give feedback.
-
Thank you, @laurit ! There is one more small issue with my setup. In case if there is no dependency to io.smallrye.reactive:mutiny, hibernate-reactive fails with error:
Can be fixed by adding dependency to io.smallrye.reactive:mutiny |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to enable hibernate reactive tracing for project using Micronaut 4 + Hibernate Reactive + OTEL Java Agent. Unfortunately this combination is not working for me. I am able to receive Vert.x traces, but without link to parent span. Hibernate reactive traces are not generating at all. After some debugging I found that Micronaut always use Stage.SessionFactory.openSession() to obtain session, which is valid case according Hibernate documentation. From what I am seeing in source code OTEL Hibernate Reactive instrumentation instrument only methods Stage.SessionFactory.withSession() & withStatelessSession().
Are there any options how to make hibernate reactive traces work in combination with Stage.SessionFactory.openSession()? Is it some special case or just not implemented in OTEL?
Kindly correct me if my thoughts wrong.
Beta Was this translation helpful? Give feedback.
All reactions