Module: OpenTelemetry::Instrumentation::Anthropic::Patches::PooledNetRequester
- Defined in:
- lib/opentelemetry/instrumentation/anthropic/patches/pooled_net_requester.rb
Overview
Patches Anthropic to propagate context when using PooledNetRequester
Instance Method Summary collapse
Instance Method Details
#execute(request) ⇒ Object
16 17 18 19 |
# File 'lib/opentelemetry/instrumentation/anthropic/patches/pooled_net_requester.rb', line 16 def execute(request) Fiber[OTEL_FIBER_KEY] = OpenTelemetry::Context.current super end |