File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
content/en/docs/collector Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,17 @@ 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 --cofig=file:/path/to/first/file --config=file:/path/to/second/file
43
+ ```
44
+
34
45
You can also provide configurations using environment variables, HTTP URIs, or
35
46
YAML paths. For example:
36
47
You can’t perform that action at this time.
0 commit comments