Skip to content

Commit a1a7abe

Browse files
committed
Move the new doc section
Signed-off-by: Swapnil Kulkarni <[email protected]>
1 parent 3ec6a76 commit a1a7abe

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

content/en/docs/collector/configuration.md

+11-10
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,23 @@ example:
3131
otelcol --config=customconfig.yaml
3232
```
3333

34+
You can also provide multiple configurations using multiple files at different
35+
paths. Each file can be a full or partial configuration, and the files can
36+
reference components from each other. If the merger of files does not constitute
37+
a complete configuration, the user receives an error since required components
38+
are not added by default. Pass in multiple file paths at the command line as
39+
follows:
40+
41+
````shell
42+
otelcol --config=file:/path/to/first/file --config=file:/path/to/second/file
43+
3444
You can also provide configurations using environment variables, HTTP URIs, or
3545
YAML paths. For example:
3646

3747
```shell
3848
otelcol --config=env:MY_CONFIG_IN_AN_ENVVAR --config=https://server/config.yaml
3949
otelcol --config="yaml:exporters::debug::verbosity: normal"
40-
```
41-
42-
You can also provide multiple configurations using multiple files at different
43-
paths. Each file can be a full or partial configuration, and the files can reference components
44-
from each other. If the merger of files does not constitute a
45-
complete configuration, the user receives an error since required components are not added
46-
by default. Pass in multiple file paths at the command line as follows:
47-
48-
```shell
49-
otelcol --config=file:/path/to/first/file --config=file:/path/to/second/file
50+
````
5051
5152
{{% alert title="Tip" color="primary" %}}
5253

0 commit comments

Comments
 (0)