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

Document usage of multiple collector config files #5960

Closed
wants to merge 0 commits into from

Conversation

meswapnilk
Copy link
Contributor

Closes #5296

@meswapnilk meswapnilk requested a review from a team as a code owner January 17, 2025 04:52
@opentelemetrybot opentelemetrybot requested review from a team and TylerHelmuth and removed request for a team January 17, 2025 04:52
@opentelemetrybot opentelemetrybot requested a review from a team January 17, 2025 04:58
Copy link
Contributor

@tiffany76 tiffany76 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, @meswapnilk! I've made a few copy edit suggestions. Also, please see my comment about moving your addition a little higher on the page.

content/en/docs/collector/configuration.md Outdated Show resolved Hide resolved
Copy link

linux-foundation-easycla bot commented Jan 18, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@meswapnilk meswapnilk force-pushed the issue-5296 branch 2 times, most recently from c51bfbc to a1a7abe Compare January 18, 2025 04:18
Copy link
Contributor

@tiffany76 tiffany76 left a comment

Choose a reason for hiding this comment

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

LGTM.

@open-telemetry/collector-approvers, PTAL.

You can also provide configurations using environment variables, HTTP URIs, or
YAML paths. For example:

```shell
otelcol --config=env:MY_CONFIG_IN_AN_ENVVAR --config=https://server/config.yaml
otelcol --config="yaml:exporters::debug::verbosity: normal"
```
````
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
````
```

Revert that change please

Comment on lines 41 to 42
````shell
otelcol --config=file:/path/to/first/file --config=file:/path/to/second/file
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
````shell
otelcol --config=file:/path/to/first/file --config=file:/path/to/second/file
```shell
otelcol --config=file:/path/to/first/file --config=file:/path/to/second/file
```

Use three ticks, also terminate your code block

@meswapnilk
Copy link
Contributor Author

@svrnm Apologies, I messed up this review a bit, I have created another PR #5989

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Usage of multiple collector config files is not clearly documented
3 participants