Skip to content

Commit f5ac359

Browse files
committed
Add config path
1 parent cfcffd1 commit f5ac359

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

content/en/docs/collector/configuration.md

+16-5
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,25 @@ cSpell:ignore: cfssl cfssljson fluentforward gencert genkey hostmetrics initca l
88

99
<!-- markdownlint-disable link-fragments -->
1010

11-
You can configure the Collector to suit your observability needs. Before you
12-
learn how Collector configuration works, familiarize yourself with the following
13-
content:
11+
You can configure the OpenTelemetry Collector to suit your observability needs.
12+
Before you learn how Collector configuration works, familiarize yourself with
13+
the following content:
1414

15-
- [Data collection concepts][dcc] in order to understand the repositories
16-
applicable to the OpenTelemetry Collector.
15+
- [Data collection concepts][dcc], to understand the repositories applicable to
16+
the OpenTelemetry Collector.
1717
- [Security guidance](https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/security-best-practices.md)
1818

19+
## Location of the configuration {#location}
20+
21+
By default, the Collector configuration is located in
22+
`/etc/otelcol/config.yaml`.
23+
24+
To use a different configuration file, use the `--config` option. For example:
25+
26+
```shell
27+
$ otelcol --config=customconfig.yaml
28+
```
29+
1930
## Configuration structure {#basics}
2031

2132
The structure of any Collector configuration file consists of four classes of

0 commit comments

Comments
 (0)