Sha256: c256c31ebe5ac04b6908a765d3786f2f966abce37e956b655b2772a5a3f2d840
Contents?: true
Size: 611 Bytes
Versions: 14
Compression:
Stored size: 611 Bytes
Contents
# frozen_string_literal: true # Copyright The OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 module OpenTelemetry module Instrumentation module Koala module Patches # Module to prepend to Koala::Facebook::API for instrumentation module Api 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 end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems