-
Notifications
You must be signed in to change notification settings - Fork 201
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
3.4.19 + Ktor OpenTelemetry - ClassCastException #3477
Comments
@omni-htg Instead of adding and configuring the Ktor instrumentation library, you can enable the Ktor automatic instrumenation provided by Application Insights:
Please let us know if it works for you. |
Thank you, @jeanbisutti ! I have tried using the I do have a couple of questions though:
Thanks once again for your assistance. |
I suspect this may be a bug, fixed upstream already but not released yet: open-telemetry/opentelemetry-java-instrumentation#10026 you can try to workaround the bug by adding this dependency to your application: |
Hey @trask ! Just tried adding that package to the project and use 19 again -- same results. If you have another workaround in mind, please let me know. |
Hello team! Is there any other input I could provide to help get to the bottom of this issue? Thanks! |
Dear AIJava team,
After updating from 3.4.18 to 3.4.19, we started experiencing the following exception no matter what combination of dependency versions we use:
In our system we are using:
APPLICATIONINSIGHTS_CONNECTION_STRING
.Rolling back to 3.4.18 (even without modifying any of the other dependencies) makes it work perfectly again.
Additionally we have found this issue #3151 which seems to be related, but because it's older we wanted to confirm before we make the jump in how OpenTelemetry is set up.
Thank you kindly!
The text was updated successfully, but these errors were encountered: