This exporter will write pipeline data to a JSON file. The data is written in Protobuf JSON encoding using OpenTelemetry protocol.
Please note that there is no guarantee that exact field names will remain stable. This intended for primarily for debugging Collector without setting up backends.
Supported pipeline types: traces, metrics, logs
The following settings are required:
path
(no default): where to write information.
Example:
exporters:
file:
path: ./filename.json