Skip to content

Commit

Permalink
Document ability to use config providers inside config
Browse files Browse the repository at this point in the history
Fixes open-telemetry#6748

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
  • Loading branch information
jpkrohling committed Jan 26, 2023
1 parent 12c782d commit fbd95c1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,25 @@ Currently, the OpenTelemetry Collector supports the following providers `scheme`

For more technical details about how configuration is resolved you can read the [configuration resolving design](../confmap/README.md#configuration-resolving).

One configuration file can also make references to other config providers, like the following:

```yaml
receivers:
otlp:
protocols:
grpc:

exporters: ${file:otlp-exporter.yaml}

service:
extensions: [ ]
pipelines:
traces:
receivers: [ otlp ]
processors: [ ]
exporters: [ otlp ]
```
### Single Config Source
1. Simple local file:
Expand Down

0 comments on commit fbd95c1

Please sign in to comment.