Update readme: config file part

Signed-off-by: DiniFarb <andreas.vogt89@bluewin.ch>
This commit is contained in:
DiniFarb 2023-07-11 07:38:42 +02:00 committed by Ben Reedy
parent 11ec45e710
commit 279a8fce89
No known key found for this signature in database
GPG Key ID: 235C15B6086C9D7E
1 changed files with 2 additions and 0 deletions

View File

@ -175,6 +175,8 @@ YAML configuration files can be specified with the `--config.file` flag. e.g. `.
It is also possible to load the configuration from a URL. e.g. `.\windows_exporter.exe --config.file="https://example.com/config.yml"` It is also possible to load the configuration from a URL. e.g. `.\windows_exporter.exe --config.file="https://example.com/config.yml"`
If you need to skip TLS verification, you can use the `--config.file.insecure-skip-verify` flag. e.g. `.\windows_exporter.exe --config.file="https://example.com/config.yml" --config.file.insecure-skip-verify`
```yaml ```yaml
collectors: collectors:
enabled: cpu,cs,net,service enabled: cpu,cs,net,service