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

feat: adjust event collection configuration #2407

Merged
merged 8 commits into from
Jul 6, 2022

Conversation

andrzej-stencel
Copy link
Contributor

This pull request builds on event collection with OpenTelemetry Collector introduced in #2379, but changes how event collection is configured. It does so by removing the property otelevents.enabled and instead adding sumologic.events.enabled and sumologic.events.provider.

Also adding some more documentation around this and fixing some typos or misleading docs.

For easier review, see individual commits.

@andrzej-stencel andrzej-stencel requested a review from a team as a code owner July 5, 2022 14:40
@github-actions github-actions bot added the documentation documentation label Jul 5, 2022
This replaces the `otelevents.enabled` property.
With this change, every property does exactly one thing:
- `sumologic.events.enabled` enables or disables events collection
- `sumologic.events.provider` switches between Fluentd and Otelcol
We also still support the (now deprecated) `fluentd.events.enabled`
property to disable events collection with Fluentd.
The tests were using the undocumented and nonexisting `sumologic.events.enabled` property
in a way that collided with the changes to events configuration.
deploy/helm/sumologic/values.yaml Show resolved Hide resolved
Changing the number of expected endpoints created from 2 to 1,
because the events endpoint is no longer being created
when events are disabled.
It took me a good while to find the cause of the failures.
Hopefully the additional comments will make it easier.
@andrzej-stencel andrzej-stencel merged commit 04fc182 into main Jul 6, 2022
@andrzej-stencel andrzej-stencel deleted the events-collection-changes branch July 6, 2022 12:31
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.

None yet

3 participants