opentelemetry-ruby
opentelemetry-ruby copied to clipboard
Disable tracing via context
We should have a mechanism to disable tracing via a flag on the context. Other SIGs are considering similar approaches. See: https://github.com/open-telemetry/opentelemetry-js/issues/1040.
This is probably needed for the Elasticsearch tracer. ES gem uses Faraday or Net::HTTP under the hood to talk to ES so we should probably disable that one, otherwise we get rather meaningless duplicate traces.
👋 This issue has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep
label to hold stale off permanently, or do nothing. If you do nothing this issue will be closed eventually by the stale bot.