open-telemetry / opentelemetry-java-contrib

https://opentelemetry.io
Apache License 2.0
158 stars 125 forks source link

JakartaEE Integration #48

Open brunobat opened 3 years ago

brunobat commented 3 years ago

Is your feature request related to a problem? Please describe. Allow JakartaEE applications to use OpenTelementry. APIs and their implementations could also use this.

Describe the solution you'd like Add a CDI bean producer to properly wire the OpenTelementry(OT) context and allow the usage of OT anotations in any JakartaEE application.

Describe alternatives you've considered This can be directly included in the opentelemetry-java lib, but it seems to me that here is a better fit.

Additional context The Eclipse MicroProfile community has created a sandbox project to evaluate OpenTelementry and the future of Microprofile OpenTracing. This is part of that brainstorming. I volunteer to move this forward if you guys like the idea.

trask commented 3 years ago

Hi @brunobat, this sounds great!

And 👍 on this repo being the right place for this work. We also have https://github.com/open-telemetry/opentelemetry-java-instrumentation, but plan to start migrating some of that repo over here in the future (https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/3505).

brunobat commented 3 years ago

I guess this is this will be the right place then. Let's see what I can do.