-
Notifications
You must be signed in to change notification settings - Fork 881
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
Not able to send logs to collector using auto instrument #9689
Comments
By default agent does not enable log exporter, try with |
@laurit Thanks, it works now |
Just a note for future readers, this behavior will change in the 2.0 release, at which time logs will be captured by default (#9008) |
another question, we noticed that some of the json attribute is not "parsed" such as |
Agent does not parse the log message. If your ask is that original message includes attributes like |
I suspect this is resolved, so I am closing. Please feel free to reopen if necessary. |
Describe the bug
We have deployed a Java application with auto instrument sending data to collector, the metrics and trace works perfect fine. But we don't see any log data.
Steps to reproduce
OTEL_LOGS_EXPORTER=logging-otlp
via environment variable, then i can see logsExpected behavior
logs data with resource attributes sent to collector and backend (newrelic)
Actual behavior
we do not see the log data sent to collector
Javaagent or library instrumentation version
otel/autoinstrumentation-java:1.30.0
Environment
JDK: Eclipse Adoptium OpenJDK 64-Bit Server VM 17.0.8.1+1
OS: Linux 5.10.186-179.751.amzn2.x86_64
Additional context
No response
The text was updated successfully, but these errors were encountered: