open-telemetry / open-telemetry/opentelemetry-java-instrumentation
Add instrumentation for vert.x event bus tracing
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 1.2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 228
Description
The vert.x event bus has native library instrumentation support for tracing (docs here). 🥳
This is not enabled by default, because the VertxOptions passed to the Vertx.vertx() factory need to contain OpenTelemetryOptions that contain the OpenTelemetry instance. Furthermore, the default TracingPolicy for event DeliveryOptions is the enum PROPAGATE, which does not create new spans when events are sent between peers.
It would be helpful to some javaagent users to get this working out of the box.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the javaagent's Vert.x instrumentation and compare its setup with the Vert.x event-bus tracing documentation. Review Vertx.vertx(), VertxOptions, OpenTelemetryOptions, DeliveryOptions, and TracingPolicy, then verify that event-bus tracing works for javaagent users without application-side configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100