OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) 1 year ago
..
internal b2eea6e926 update mdatagen to support per signal stability (#21153) 1 year ago
testdata 951e875267 [chore] Change receiver config tests to unmarshal config only for that component. (part3) (#14561) 2 years ago
Makefile 55831bc2d3 New file receiver (#7840) 2 years ago
README.md 562dc48d10 Link component issue badges to the respective issue page (#24642) 1 year ago
doc.go 5133f4ccd6 [chore] use license shortform (#22052) 1 year ago
file.go 98124e0b6d Fix panic when LogRecordCount is called after ConsumeLogs (#29274) 1 year ago
file_test.go 636cd78c39 [pkg/stanza] Fix bug where default flush period not set (#26693) 1 year ago
go.mod d680729c09 [chore] Prepare release 0.90.0 (#29543) 1 year ago
go.sum 40b485f08a Update core for v0.90.0 release (#29539) 1 year ago
metadata.yaml 8a4348cb00 [chore] add codeowners to metadata (#24404) 1 year ago

README.md

OTLP JSON File Receiver

Status
Stability alpha: traces, metrics, logs
Distributions contrib, sumo
Issues Open issues Closed issues
Code Owners @djaglowski, @atoulme

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.

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"