elastic / elastic/apm-agent-java
Support Kotlin Coroutines
- Vorherrschende Sprache
- Java
- Sterne
- 594
- Forks
- 338
- Ø Merge
- 1 T. 13 Std.
- Gemergte PRs (30 T.)
- 25
Beschreibung
Currently Elastic Apm Java Agent doesn't support tracing context inside Kotlin Coroutines. And when you use Elastic Apm in Kotlin project, tracing doesn't work inside coroutines. So it would be quite useful to have Elastic Apm suppurt for Kotlin Coroutines.
I think the best solution is to implement Elastic Apm Java Agent Plugin for supporting Kotlin Coroutines.
Alternatively we can pass tracing context manually to kotlin coroutine context. But that doesn't allow other plugins to work correctly and adds a lot of boilerplate code.
Beitragsleitfaden
Rechercherichtung
Beginnen Sie mit der Untersuchung der Elastic APM Java Agent Plugin-Architektur und der Frage, wie Kotlin Coroutines Kontext übertragen. Vergleichen Sie den vorgeschlagenen Plugin-Ansatz mit der manuellen Weitergabe des Tracing-Kontexts und definieren Sie anschließend Tests, die zeigen, dass Tracing innerhalb von Coroutines funktioniert, ohne andere Plugins daran zu hindern, korrekt zu funktionieren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java, kotlin
- Bereich
- backend, observability-sre
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100