| 1 |
# File Provider |
| 2 |
|
| 3 |
<!-- status autogenerated section --> |
| 4 |
| Status | | |
| 5 |
| ------------- |-----------| |
| 6 |
| Stability | [stable] | |
| 7 |
| Distributions | [core], [contrib], [k8s], [otlp] | |
| 8 |
| Issues | [](https://github.com/open-telemetry/opentelemetry-collector/issues?q=is%3Aopen+is%3Aissue+label%3Aprovider%2Ffileprovider) [](https://github.com/open-telemetry/opentelemetry-collector/issues?q=is%3Aclosed+is%3Aissue+label%3Aprovider%2Ffileprovider) | |
| 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 |
[otlp]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-otlp |
| 15 |
<!-- end autogenerated section --> |
| 16 |
|
| 17 |
## Overview |
| 18 |
|
| 19 |
The File Provider takes paths to files and reads their contents as YAML to provide configuration to the Collector. |
| 20 |
|
| 21 |
## Usage |
| 22 |
|
| 23 |
The scheme for this provider is `file`. Usage looks like the following: |
| 24 |
|
| 25 |
```text |
| 26 |
file:/path/to/file.yaml |
| 27 |
``` |