-
Notifications
You must be signed in to change notification settings - Fork 183
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
test(traces): add integration test for enabled traces #1977
Conversation
be4fb1c
to
94c6cd3
Compare
ee02a90
to
bb56dca
Compare
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.
This pull request contains invalid labels. Please remove all of the following labels: ['do-not-merge/hold']
Great work! Really like the tests 🚀 |
477e333
to
3e979a9
Compare
enabled: true | ||
|
||
# Prevent snowball effect by filtering out receiver mock logs | ||
fluent-bit: |
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.
Why do we set this (and others like Prometheus or Fluentd) for tracing tests?
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 think we should include sumologic.traces.enabled: true
and the otelcol
and otelagent
sections only 🤔
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.
This is to prevent fluent-bit ingesting receiver-mock logs, which would then be printed out on stdout and be ingested by fluent-bit and so on.
We could either keep this filter or disable logs for this particular testcase.
I'm open to suggestions but I thought that we should check that everything seems to work fine when we change a different config option like traces.enabled
.
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.
Why do we set this (and others like Prometheus or Fluentd) for tracing tests?
There are comments explaining why we need them :) TLDR, with default requests those pods wouldn't fit on the github runner's node
3e979a9
to
ae570ab
Compare
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.
🏅
Related to recent problem fixed in: #1975
This PR adds a test with traces enabled to verify that traces work with the chart by actually installing it in a cluster.
Depends on #1971