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(logs)!: simplify metadata configuration #2626

Merged
merged 2 commits into from Nov 24, 2022

Conversation

swiatekm-sumo
Copy link
Contributor

@swiatekm-sumo swiatekm-sumo commented Nov 22, 2022

Description

Move the logs metadata configuration to a template. We don't do much more here, there are more changes expected later, pulling out some of the configuration to top-level properties. I did make the configuration for containers and systemd conditional, same for the pipelines for otel log collector and Fluent Bit.

I've added two different ways of customizing the configuration directly. The contents of metadata.metrics.config.merge will be merged into the templated configuration, while metadata.metrics.config.override will replace it in total.

Migration can be found here: SumoLogic/sumologic-kubernetes-tools#387.


Checklist
  • Changelog updated

@kkujawa-sumo
Copy link
Contributor

kkujawa-sumo commented Nov 23, 2022

Could you add to the changelog below note or something similar?

"Removed explicit configuration for otelcol under metadata.logs.config, add option to merge configuration metadata.metrics.config.merge or overwrite default configuration metadata.metrics.config.override"

@swiatekm-sumo
Copy link
Contributor Author

Could you add to the changelog below note or something similar?

"Removed explicit configuration for otelcol under metadata.logs.config, add option to merge configuration metadata.metrics.config.merge or overwrite default configuration metadata.metrics.config.override"

I can start a section for log config changes in the migration doc, but it'd just be the start.

Copy link
Contributor

@andrzej-stencel andrzej-stencel left a comment

Choose a reason for hiding this comment

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

💪 🏆

@swiatekm-sumo swiatekm-sumo changed the title feat!: refactor logs metadata config feat(logs)!: simplify metadata configuration Nov 24, 2022
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Andrzej Stencel <astencel@sumologic.com>
@swiatekm-sumo swiatekm-sumo merged commit db22fda into main Nov 24, 2022
@swiatekm-sumo swiatekm-sumo deleted the feat/logs-metadata-config branch November 24, 2022 14:16
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