elastic / elastic/elastic-otel-java
Add inferred spans for virtual thread blockers
- Dominant language
- Java
- Stars
- 35
- Forks
- 32
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 30
Description
In a recent spacetime I developed a feature to automatically generate spans for when a virtual thread is blocked for a configurable amount of time.
This works by hooking onto JVMTI mount/unmount events for virtual spans.
When a span has been unmounted for a time exceeding the threshold a stacktrace is fetched and a span is generated.
The goal of this issue is to cleanup this implementation and to provide as an extension and feature of our otel distro.
In the future we might want to contribute this feature to the upsteam project.
[Here](https://github.com/JonasKunz/elastic-otel-java/tree/jvmti-virtual-thread-events) is the branch of the implementation on my fork.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.