-
Notifications
You must be signed in to change notification settings - Fork 1k
Kotlin coroutines and ktor metadata #15295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| } | ||
|
|
||
| tasks.withType<Test>().configureEach { | ||
| jvmArgs("-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this system property isn't relevant to this instrumentation
docs/instrumentation-list.yaml
Outdated
| - org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:[1.3.9,) | ||
| - org.jetbrains.kotlinx:kotlinx-coroutines-core:[1.0.0,1.3.8) | ||
| configurations: | ||
| - name: otel.instrumentation.kotlinx-coroutines.check-class |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we document this option at all?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you think it's needed to have a separate config for this, since it also uses the general debug config option too?
| description: | | ||
| This instrumentation enables HTTP client spans and HTTP client metrics for the Ktor HTTP client, and enriches HTTP server spans with route information for the Ktor server. | ||
| semantic_conventions: | ||
| - HTTP_CLIENT_SPANS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't it also create server spans?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, i got thrown off course because the javaagent server spans are suppressed due to already existing netty server spans. I've updated 2.0 and 3.0 to use the library tests instead
Part of #14096