Commit a1a7abe 1 parent 3ec6a76 commit a1a7abe Copy full SHA for a1a7abe
File tree 1 file changed +11
-10
lines changed
content/en/docs/collector
1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -31,22 +31,23 @@ example:
31
31
otelcol --config=customconfig.yaml
32
32
```
33
33
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
+
34
44
You can also provide configurations using environment variables, HTTP URIs, or
35
45
YAML paths. For example:
36
46
37
47
` ` ` shell
38
48
otelcol --config=env:MY_CONFIG_IN_AN_ENVVAR --config=https://server/config.yaml
39
49
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
+ ` ` ` `
50
51
51
52
{{% alert title=" Tip" color=" primary" %}}
52
53
You can’t perform that action at this time.
0 commit comments