OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) | 1 tahun lalu | |
---|---|---|
.. | ||
internal | 1 tahun lalu | |
testdata | 2 tahun lalu | |
Makefile | 2 tahun lalu | |
README.md | 1 tahun lalu | |
doc.go | 1 tahun lalu | |
file.go | 1 tahun lalu | |
file_test.go | 1 tahun lalu | |
go.mod | 1 tahun lalu | |
go.sum | 1 tahun lalu | |
metadata.yaml | 1 tahun lalu |
Status | |
---|---|
Stability | alpha: traces, metrics, logs |
Distributions | contrib, sumo |
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.
The following settings are required:
include
: set a glob path of files to include in data collectionExample:
receivers:
otlpjsonfile:
include:
- "/var/log/*.log"
exclude:
- "/var/log/example.log"