module OpenTelemetry::Instrumentation::Koala::Patches::Api
Module to prepend to Koala::Facebook::API for instrumentation
Public Instance Methods
graph_call(path, args = {}, verb = 'get', options = {}, &post_processing)
click to toggle source
Calls superclass method
# File lib/opentelemetry/instrumentation/koala/patches/instrumentation.rb, line 13 def graph_call(path, args = {}, verb = 'get', options = {}, &post_processing) OpenTelemetry::Common::HTTP::ClientContext.with_attributes('peer.service' => 'facebook', 'koala.verb' => verb, 'koala.path' => path) do super end end