Module: OpenTelemetry::Instrumentation::Koala::Patches::Api
- Defined in:
- lib/opentelemetry/instrumentation/koala/patches/instrumentation.rb
Overview
Module to prepend to Koala::Facebook::API for instrumentation
Instance Method Summary collapse
Instance Method Details
#graph_call(path, args = {}, verb = 'get', options = {}, &post_processing) ⇒ Object
13 14 15 16 17 |
# File 'lib/opentelemetry/instrumentation/koala/patches/instrumentation.rb', line 13 def graph_call(path, args = {}, verb = 'get', = {}, &post_processing) OpenTelemetry::Common::HTTP::ClientContext.with_attributes('peer.service' => 'facebook', 'koala.verb' => verb, 'koala.path' => path) do super end end |