-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add OTLP benchmarking with copied telemetrygen files #58
Conversation
Use a otel collector contrib fork for a patch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hate copying the files from telemetrygen (slight differences: e2etest directory removed, file headers changed, go.mod and go.sum removed) but I don't see a good way to reuse the code otherwise.
fe9b63e
to
7eec464
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Not sure about the license stuff though.
) | ||
|
||
func TestMain(m *testing.M) { | ||
goleak.VerifyTestMain(m) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL goleak
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Alternative to #55 but this does not require a fork, since a copy of the telemetrygen now lives in apm-perf. Telemetrygen is a tool in otel repo that sends otlp logs, traces and metrics: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/cmd/telemetrygen