Closed
Description
The purpose and use-cases of the new component
This new component is a command line utility that can listen for traffic over OTLP and OTLPHTTP, and compare it with fixture files. It uses pkg/golden under the hood. It allows to set rules to ignore and rename elements of the fixture file to allow fuzzy matches to the incoming data.
Example configuration for the component
golden --listen-grpc http://localhost:4317 --expected file/foo_expected.yaml --ignore-start-timestamps --ignore-timestamps --ignore-metrics-order --wait 5m
If comparison is successful, the program exits as soon as the condition is matched with an exit code 0.
If the comparison fails, the program eventually exits with error code 1, with the output of the error provided by pkg/golden comparison.
Telemetry data types supported
metrics, traces, logs - start with metrics.
Code Owner(s)
Sponsor (optional)
Additional context
No response