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

[exporter/lokiexporter] Fix lokiexporter example config #9066

Merged

Conversation

otaviocarvalho
Copy link
Contributor

The base example otel-collector-config.yml file for the lokiexporter sets resources (plural form) while the mapstructure is resource (singular form).

This PR fixes the sample adjusting it to the actual resource format. Another option would be to make the mapstructure plural, but that would imply a contract (breaking) change.

Screen Shot 2022-04-04 at 10 57 16 PM

@otaviocarvalho otaviocarvalho requested review from a team and jpkrohling as code owners April 4, 2022 21:08
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Apr 4, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: otaviocarvalho / name: Otávio Carvalho (8c9f176)

@project-bot project-bot bot added this to In progress in Collector Apr 4, 2022
@@ -16,7 +16,6 @@ processors:
# information, see
# https://github.com/open-telemetry/opentelemetry-collector/blob/main/processor/memorylimiterprocessor/README.md
memory_limiter:
ballast_size_mib: 683
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 deprecated parameter was also preventing the otel container to execute, please let me know if there is a better option than removing it.

Screen Shot 2022-04-04 at 11 00 17 PM

Copy link
Contributor

Choose a reason for hiding this comment

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

The recommendation is to use the ballast extension

@otaviocarvalho otaviocarvalho force-pushed the fix-lokiexporter-example-config branch from 8c9f176 to fd92340 Compare April 4, 2022 21:18
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution, see my response to your question

@@ -16,7 +16,6 @@ processors:
# information, see
# https://github.com/open-telemetry/opentelemetry-collector/blob/main/processor/memorylimiterprocessor/README.md
memory_limiter:
ballast_size_mib: 683
Copy link
Contributor

Choose a reason for hiding this comment

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

The recommendation is to use the ballast extension

@codeboten codeboten added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Apr 5, 2022
Collector automation moved this from In progress to Reviewer approved Apr 5, 2022
@codeboten codeboten merged commit 88e62c6 into open-telemetry:main Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
No open projects
Collector
  
Reviewer approved
Development

Successfully merging this pull request may close these issues.

None yet

3 participants