Commit 478cd6b 1 parent 3ec6a76 commit 478cd6b Copy full SHA for 478cd6b
File tree 1 file changed +8
-8
lines changed
content/en/docs/collector
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,6 @@ example:
31
31
otelcol --config=customconfig.yaml
32
32
```
33
33
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
-
42
34
You can also provide multiple configurations using multiple files at different
43
35
paths. Each file can be a full or partial configuration, and the files can reference components
44
36
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:
48
40
``` shell
49
41
otelcol --config=file:/path/to/first/file --config=file:/path/to/second/file
50
42
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
+
51
51
{{% alert title=" Tip" color=" primary" %}}
52
52
53
53
When referring to nested keys in YAML paths, make sure to use double colons (::)
You can’t perform that action at this time.
0 commit comments