Skip to content

Latest commit

 

History

History

otlpjsonfilereceiver

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OTLP JSON File Receiver

Status
Stability [alpha]
Supported pipeline types logs, metrics, traces
Distributions [contrib]

This receiver will read pipeline data from JSON files. The data is written in Protobuf JSON encoding using OpenTelemetry protocol.

The receiver will watch the directory and read files. If a file is updated or added, the receiver will read it in its entirety again.

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

Getting Started

The following settings are required:

  • include: set a glob path of files to include in data collection

Example:

receivers:
  otlpjsonfile:
    include:
      - "/var/log/*.log"
    exclude:
      - "/var/log/example.log"