Sha256: 6a6b95cbd8e3d34d1322067a88483c0a7cb490397e8494709deb35f9a67e8ff0
Contents?: true
Size: 445 Bytes
Versions: 64
Compression:
Stored size: 445 Bytes
Contents
# (c) Copyright IBM Corp. 2021 # (c) Copyright Instana Inc. 2021 module Instana module Activators class GrpcClient < Activator def can_instrument? defined?(::GRPC::ActiveCall) && ::Instana.config[:grpc][:enabled] end def instrument require 'instana/instrumentation/grpc' ::GRPC::ClientStub.prepend(::Instana::Instrumentation::GRPCCientInstrumentation) true end end end end
Version data entries
64 entries across 64 versions & 1 rubygems