-
Notifications
You must be signed in to change notification settings - Fork 858
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
Dependency versions mismatch in v2.8.0-alpha #12299
Comments
Firstly you should check what version of opentelemetry dependencies you have. Instrumentation |
You might be right... After inspecting the package version in runtime, opentelemetry-api was of version 1.42.1, and opentelemetry-sdk was 1.40.0. Importing opentelemetry-bom v1.42.1 did not change a thing, but
did. |
|
Anyway, I have a working solution for now. Thanks for your help. |
Describe the bug
AppenderLoggingException on logging with Appenders by opentelemetry-log4j-appender-2.17, opentelemetry-logback-appender-1.0 of version 2.8.0-alpha.
Steps to reproduce
run
Expected behavior
Logging works emitting a message. No exceptions are thrown.
Actual behavior
Error::
ERROR An exception occurred processing Appender Otel org.apache.logging.log4j.core.appender.AppenderLoggingException: java.lang.NoClassDefFoundError: io/opentelemetry/api/incubator/logs/AnyValue
Javaagent or library instrumentation version
2.8.0-alpha
Environment
Scala: 2.13
OS: 14.6.1 (23G93)
Additional context
Switching to version 2.7.0-alpha fixes the problem.
The text was updated successfully, but these errors were encountered: