| 1 |
# YAML Provider |
| 2 |
|
| 3 |
<!-- status autogenerated section --> |
| 4 |
| Status | | |
| 5 |
| ------------- |-----------| |
| 6 |
| Stability | [stable] | |
| 7 |
| Distributions | [core], [contrib], [k8s] | |
| 8 |
| Issues | [](https://github.com/open-telemetry/opentelemetry-collector/issues?q=is%3Aopen+is%3Aissue+label%3Aprovider%2Fyamlprovider) [](https://github.com/open-telemetry/opentelemetry-collector/issues?q=is%3Aclosed+is%3Aissue+label%3Aprovider%2Fyamlprovider) | |
| 9 |
|
| 10 |
[stable]: https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/component-stability.md#stable |
| 11 |
[core]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol |
| 12 |
[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib |
| 13 |
[k8s]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-k8s |
| 14 |
<!-- end autogenerated section --> |
| 15 |
|
| 16 |
## Overview |
| 17 |
|
| 18 |
The YAML Provider takes a literal YAML string as Collector configuration. |
| 19 |
|
| 20 |
## Usage |
| 21 |
|
| 22 |
The scheme for this provider is `yaml`. Usage looks like the following passed to the Collector's command line invocation: |
| 23 |
|
| 24 |
```text |
| 25 |
--config="yaml:exporters::otlphttp::sending_queue::batch::flush_timeout: 2s" |
| 26 |
``` |