Skip to content
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

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

pmalek-sumo
Copy link
Contributor

@pmalek-sumo pmalek-sumo commented Dec 14, 2021

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

@pmalek-sumo pmalek-sumo changed the title It add tracing test test(traces): add integration test for enabled traces Dec 14, 2021
@pmalek-sumo pmalek-sumo force-pushed the it-add-tracing-test branch 2 times, most recently from ee02a90 to bb56dca Compare December 14, 2021 11:21
Copy link

@github-actions github-actions bot left a 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']

@pmalek-sumo pmalek-sumo marked this pull request as ready for review December 14, 2021 11:29
@pmalek-sumo pmalek-sumo requested a review from a team as a code owner December 14, 2021 11:29
@mat-rumian
Copy link
Contributor

Great work! Really like the tests 🚀

@pmalek-sumo pmalek-sumo force-pushed the it-add-tracing-test branch 2 times, most recently from 477e333 to 3e979a9 Compare December 14, 2021 14:00
enabled: true

# Prevent snowball effect by filtering out receiver mock logs
fluent-bit:
Copy link
Contributor

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?

Copy link
Contributor

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 🤔

Copy link
Contributor Author

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.

Copy link
Contributor Author

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

Copy link
Contributor

@perk-sumo perk-sumo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏅

@pmalek-sumo pmalek-sumo merged commit a3efddb into main Dec 17, 2021
@pmalek-sumo pmalek-sumo deleted the it-add-tracing-test branch December 17, 2021 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants