newrelic / newrelic-java-agent

The New Relic Java agent
Apache License 2.0
201 stars 143 forks source link

Investigate bi-directional context propagation between NR and OTel #2098

Open jasonjkeller opened 2 hours ago

jasonjkeller commented 2 hours ago

The prototype in the Java agent appears to be uni-directional, where it receives a notification that a span started or ended, and then it starts/stops a transaction/segment using the internal New Relic data model.

It doesn't appear that this internal state is reflected back into the OTel API.

Maybe this uni-directional approach is good enough to start out with?

Maybe we can have a better offering if we can support reflecting some of our internal context back via the OTel APIs?

workato-integration[bot] commented 2 hours ago

https://new-relic.atlassian.net/browse/NR-329805