Closed moh-osman3 closed 1 year ago
This PR:
generatorreceiver
$ cd collector/cmd/otelarrowcol $ go run . --config ./config/simple-record.yaml
This writes zstd compressed and obfuscated traces to an output file (e.g cmd/otelarrowcol/recorded_traces.json)
cmd/otelarrowcol/recorded_traces.json
This can be replayed by running
$ cd collector/cmd/otelarrowcol $ go run . --config ./config/simple-replay.yaml
This reads the data in the recorded file and rewrites it in an uncompressed form
You can also read in the compressed file recorded_traces.json with the the benchmark tools e.g.
recorded_traces.json
$ go run ./tools/trace_benchmark --format json collector/cmd/otelarrowcol/recorded_traces.json
(cc @jmacd @lquerel)
I will check this branch out and try it. I'd like the example configs to move into the examples/ directory, for one thing -- @moh-osman3 is out of town this week and I will carry this forward.
Replaced by #191
This PR:
generatorreceiver
to create synthetic telemetry in a collector pipelineSimple Test
This writes zstd compressed and obfuscated traces to an output file (e.g
cmd/otelarrowcol/recorded_traces.json
)This can be replayed by running
This reads the data in the recorded file and rewrites it in an uncompressed form
You can also read in the compressed file
recorded_traces.json
with the the benchmark tools e.g.(cc @jmacd @lquerel)