We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4405988 commit 3b0edc0Copy full SHA for 3b0edc0
content/en/docs/collector/configuration.md
@@ -31,6 +31,17 @@ example:
31
otelcol --config=customconfig.yaml
32
```
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
45
You can also provide configurations using environment variables, HTTP URIs, or
46
YAML paths. For example:
47
0 commit comments