You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I can not choose logger when using auto instrumentation and logback.
When it's setting like OTEL_LOGS_EXPORTER=otlp (default) and java -javaagent:/path/to/opentelemetry-javaagent.jar, all of loggers export to logging service (e.g. loki). So when I don't want to send some logs to loki (it depends on logger), I can't use auto instrumentation (especially log). I want to send only root logs to loki and I don't want to send SECURE logger. when below settings
If I improve this repository, I make new options. like below otel.instrumentation.logback.send-only-root-logger otel.instrumentation.logback.chosen-loggers
Implement the decision whether or not to output based on the above options around the following
Is your feature request related to a problem? Please describe.
I can not choose logger when using auto instrumentation and logback.
When it's setting like
OTEL_LOGS_EXPORTER=otlp
(default) andjava -javaagent:/path/to/opentelemetry-javaagent.jar
, all of loggers export to logging service (e.g. loki). So when I don't want to send some logs to loki (it depends on logger), I can't use auto instrumentation (especially log). I want to send only root logs to loki and I don't want to sendSECURE
logger. when below settingsDescribe the solution you'd like
If I improve this repository, I make new options. like below
otel.instrumentation.logback.send-only-root-logger
otel.instrumentation.logback.chosen-loggers
Implement the decision whether or not to output based on the above options around the following
opentelemetry-java-instrumentation/instrumentation/logback/logback-appender-1.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/logback/appender/v1_0/LogbackInstrumentation.java
Line 52 in c5cb948
opentelemetry-java-instrumentation/instrumentation/logback/logback-appender-1.0/library/src/main/java/io/opentelemetry/instrumentation/logback/appender/v1_0/internal/LoggingEventMapper.java
Line 108 in 5b21872
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: