From 9ecaea05a3a91d441ab370e6b1e9c7db3ff8f011 Mon Sep 17 00:00:00 2001 From: Swapnil Kulkarni Date: Mon, 20 Jan 2025 15:13:42 +0530 Subject: [PATCH] Updated based on review comments Signed-off-by: Swapnil Kulkarni --- content/en/docs/collector/configuration.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/en/docs/collector/configuration.md b/content/en/docs/collector/configuration.md index 75e0c1e29476..c4211ade4e8a 100644 --- a/content/en/docs/collector/configuration.md +++ b/content/en/docs/collector/configuration.md @@ -38,8 +38,9 @@ a complete configuration, the user receives an error since required components are not added by default. Pass in multiple file paths at the command line as follows: -````shell +```shell otelcol --config=file:/path/to/first/file --config=file:/path/to/second/file +``` You can also provide configurations using environment variables, HTTP URIs, or YAML paths. For example: @@ -47,7 +48,7 @@ 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" -```` +``` {{% alert title="Tip" color="primary" %}}