Daniel Jaglowski 40b485f08a Update core for v0.90.0 release (#29539) | 1 year ago | |
---|---|---|
.. | ||
internal | 1 year ago | |
testdata | 1 year ago | |
Makefile | 1 year ago | |
README.md | 1 year ago | |
config.go | 1 year ago | |
config_test.go | 1 year ago | |
doc.go | 1 year ago | |
factory.go | 1 year ago | |
factory_test.go | 1 year ago | |
file_reader.go | 1 year ago | |
file_reader_test.go | 1 year ago | |
go.mod | 1 year ago | |
go.sum | 1 year ago | |
metadata.yaml | 1 year ago | |
receiver.go | 1 year ago | |
receiver_test.go | 1 year ago | |
replay_timer.go | 1 year ago | |
replay_timer_test.go | 1 year ago |
Status | |
---|---|
Stability | development: metrics |
Distributions | contrib |
Issues | |
Code Owners | @pmcollins, @djaglowski |
The File Receiver reads the output of a File Exporter, converting that output to metrics, and sending the metrics down the pipeline.
Currently, the only file format supported is the File Exporter's JSON format. Reading compressed output, rotated files, or telemetry other than metrics are not supported at this time.
The following setting is required:
path
[no default]: the file in the same format as written by a File Exporter.The following setting is optional:
throttle
[default: 1]: a determines how fast telemetry is replayed. A value of 0
means
that it will be replayed as fast as the system will allow. A value of 1
means that it will
be replayed at the same rate as the data came in, as indicated by the timestamps on the
input file's telemetry data. Higher values mean that the replay speed will be slower by a
multiple of the throttle value. Values can be decimals, e.g. 0.5
means that telemetry will be
replayed at 2x the rate indicated by the telemetry's timestamps.receivers:
file:
path: my-telemetry-file
throttle: 0.5