Sha256: 51693cbb2af8898d75bf50d995a89f379093b9dd7aebf959fae65f97f0db4760

Contents?: true

Size: 848 Bytes

Versions: 6

Compression:

Stored size: 848 Bytes

Contents

# typed: true

module Datadog
  module Tracing
    module Contrib
      module GRPC
        # gRPC integration constants
        # @public_api Changing resource names, tag names, or environment variables creates breaking changes.
        module Ext
          ENV_ENABLED = 'DD_TRACE_GRPC_ENABLED'.freeze
          ENV_ANALYTICS_ENABLED = 'DD_TRACE_GRPC_ANALYTICS_ENABLED'.freeze
          ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_GRPC_ANALYTICS_SAMPLE_RATE'.freeze
          DEFAULT_PEER_SERVICE_NAME = 'grpc'.freeze
          SPAN_CLIENT = 'grpc.client'.freeze
          SPAN_SERVICE = 'grpc.service'.freeze
          TAG_CLIENT_DEADLINE = 'grpc.client.deadline'.freeze
          TAG_COMPONENT = 'grpc'.freeze
          TAG_OPERATION_CLIENT = 'client'.freeze
          TAG_OPERATION_SERVICE = 'service'.freeze
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ddtrace-1.5.2 lib/datadog/tracing/contrib/grpc/ext.rb
ddtrace-1.5.1 lib/datadog/tracing/contrib/grpc/ext.rb
ddtrace-1.5.0 lib/datadog/tracing/contrib/grpc/ext.rb
ddtrace-1.4.2 lib/datadog/tracing/contrib/grpc/ext.rb
ddtrace-1.4.1 lib/datadog/tracing/contrib/grpc/ext.rb
ddtrace-1.4.0 lib/datadog/tracing/contrib/grpc/ext.rb