Skip to content

Commit 478cd6b

Browse files
committed
Move the new doc section
1 parent 3ec6a76 commit 478cd6b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

content/en/docs/collector/configuration.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,6 @@ example:
3131
otelcol --config=customconfig.yaml
3232
```
3333

34-
You can also provide configurations using environment variables, HTTP URIs, or
35-
YAML paths. For example:
36-
37-
```shell
38-
otelcol --config=env:MY_CONFIG_IN_AN_ENVVAR --config=https://server/config.yaml
39-
otelcol --config="yaml:exporters::debug::verbosity: normal"
40-
```
41-
4234
You can also provide multiple configurations using multiple files at different
4335
paths. Each file can be a full or partial configuration, and the files can reference components
4436
from each other. If the merger of files does not constitute a
@@ -48,6 +40,14 @@ by default. Pass in multiple file paths at the command line as follows:
4840
```shell
4941
otelcol --config=file:/path/to/first/file --config=file:/path/to/second/file
5042

43+
You can also provide configurations using environment variables, HTTP URIs, or
44+
YAML paths. For example:
45+
46+
```shell
47+
otelcol --config=env:MY_CONFIG_IN_AN_ENVVAR --config=https://server/config.yaml
48+
otelcol --config="yaml:exporters::debug::verbosity: normal"
49+
```
50+
5151
{{% alert title="Tip" color="primary" %}}
5252

5353
When referring to nested keys in YAML paths, make sure to use double colons (::)

0 commit comments

Comments
 (0)