Replies: 1 comment 1 reply
-
Seems related to #2940 which is marked as fixed. Here is my stack trace snippet when excluding the mentioned libs:
If I add an explicit dep on
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We only use the sdk for tracing, and have hardcoded
OTEL_METRICS_EXPORTER=none
andOTEL_LOGS_EXPORTER=none
. Was hoping that I would be able to excludeopentelemetry-sdk-logs
,opentelemetry-sdk-metrics
,okhttp
andkotlin*
to reduce the weight of my dependencies, but appears that the autoconfigure extension actively uses classes that require these runtime?I use
I was hoping that
OTEL_METRICS_EXPORTER=none
would skip configuring metrics exporting alltogether. I also triedbuilder()
to look for a way to disable through SDK instead of env.var, but found none.What are my options, other than skipping autoconfigure and building my own code for the same, only for traces?
Beta Was this translation helpful? Give feedback.
All reactions