-
Notifications
You must be signed in to change notification settings - Fork 506
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
exclude file logs where we have otlp logs #945
Conversation
5c91e77
to
bb8887f
Compare
filelog: | ||
exclude: | ||
- '/var/log/pods/*-otelcol*/opentelemetry-collector/*.log' | ||
# logs are sent as OTLP, so we filter out the file logs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@puckpuck this sounds like a bug with the demo. Is the demo purposefully emitting the logs both as otlp and stdout?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought this is the intended behavior - but I didn't see a definitive answer in https://opentelemetry.io/docs/specs/otel/logs/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zeitlinger are you adding logs to the demo yourself? I don't believe the demo does logs over otlp in 1.6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have enabled the flag for jvm (adservice, frauddetectionservice), but not for the others (recommendationservice/python, cartservice/dotnet, quoteservice/php)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would actually propose to add the java flag to enable logging as well - it will be enabled by default with 2.0 (of the java agent)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The demo has started to add pieces to support logging, but it isn't complete yet. Any logging that services do is likely some defaults from an SDK that is not yet configured.
pls run |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
@JaredTan95 can you have another look? |
I have a question about this, I didn't seem to see the configuration about collection logs in |
I've excluded logs for applications that are double reported - once for otlp logs and once for logs from the filelog receiver in the collector. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
the duplicate logs are quite confusing