Sha256: f03c0b28d06970bb6de364fc1f76cb0ea36959438d5c46f3ad2201c20251e316
Contents?: true
Size: 633 Bytes
Versions: 2
Compression:
Stored size: 633 Bytes
Contents
require_relative 'ext' require_relative '../patcher' module Datadog module Tracing module Contrib module GRPC # Patcher enables patching of 'grpc' module. module Patcher include Contrib::Patcher module_function def target_version Integration.version end def patch require_relative 'intercept_with_datadog' prepend_interceptor end def prepend_interceptor ::GRPC::InterceptionContext .prepend(InterceptWithDatadog) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-1.10.1 | lib/datadog/tracing/contrib/grpc/patcher.rb |
ddtrace-1.10.0 | lib/datadog/tracing/contrib/grpc/patcher.rb |