-
Hey 👋 tl;dr: We're looking for a hook to intercept Update 2024-03-05:
I'm working for Sentry and we're looking for a hook that allows us to intercept We'd like to register that hook from inside a Java Agent as well as when initializing OpenTelemetry without an Agent. Some of the hooks, that already exist (mentioned below) can only be set on the The reason for us wanting to hook into I've looked around OpenTelemetry GitHub repositories and found the following:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Do I understand correctly that you wish to do something whenever |
Beta Was this translation helpful? Give feedback.
you can probably do this when you provide your own
ContextStorage
and override https://github.com/open-telemetry/opentelemetry-java/blob/62a4810145eec10abda6b023a70f7e9252ca217c/context/src/main/java/io/opentelemetry/context/ContextStorage.java#L112 then you can return a customContext
that can track calls towith
.