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

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"