opentelemetry-ruby-contrib
opentelemetry-ruby-contrib copied to clipboard
Racecar instrumentation adapter
Convert Datadog instrumentation for Racecar to OpenTelemetry.
See
Racecar uses rdkafka once https://github.com/open-telemetry/opentelemetry-ruby/issues/919 is complete I intend to close this out as the instrumentation will be covered by including rdkafka instrumentation.
Maybe you already know but open-telemetry/opentelemetry-ruby#978 does not work with racecar
. The racecar gem does not use the rdkafka API that is instrumented (each
and each_batch
), it uses poll
and poll_batch
instead:
https://github.com/zendesk/racecar/blob/73f424f36324f4161f820f6558097a704cbb3316/lib/racecar/runner.rb#L66-L80