lightstep / telemetry-generator

An opentelemetry receiver that generates configurable metrics & traces to emulate live services
Apache License 2.0
18 stars 8 forks source link

💡 Expose generate functionality directly - enable unittesting & regression testing with this code #47

Open jmacd opened 1 year ago

jmacd commented 1 year ago

Start Date

No response

Implementation PR

No response

Reference Issues

No response

Summary

While debugging compression in the OTel Arrow bridge, we setup this telemetry generator and ran a test. When we discovered a bug, it was then helpful to be able to generate this data directly and feed it into a test. If there was a public API exposed to the internal packages, that would address this issue.

Basic Example

Telemetry generator produces interesting telemetry for a test.

Drawbacks

We would then start to break other's APIs and need to use semver. We can say that this is not a stable API.

Unresolved questions

No response

jmacd commented 1 year ago

@lquerel