Sha256: d5e4f0f250b709d2e2163917f6a2f638011e78edfa7c1320624546ec5d93f2f3

Contents?: true

Size: 810 Bytes

Versions: 27

Compression:

Stored size: 810 Bytes

Contents

module Datadog
  module Ext
    module DistributedTracing
      # HTTP headers one should set for distributed tracing.
      # These are cross-language (eg: Python, Go and other implementations should honor these)
      HTTP_HEADER_TRACE_ID = 'x-datadog-trace-id'.freeze
      HTTP_HEADER_PARENT_ID = 'x-datadog-parent-id'.freeze
      HTTP_HEADER_SAMPLING_PRIORITY = 'x-datadog-sampling-priority'.freeze
      SAMPLING_PRIORITY_KEY = '_sampling_priority_v1'.freeze

      # gRPC metadata keys for distributed tracing. https://github.com/grpc/grpc-go/blob/v1.10.x/Documentation/grpc-metadata.md
      GRPC_METADATA_TRACE_ID = 'x-datadog-trace-id'.freeze
      GRPC_METADATA_PARENT_ID = 'x-datadog-parent-id'.freeze
      GRPC_METADATA_SAMPLING_PRIORITY = 'x-datadog-sampling-priority'.freeze
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
ddtrace-0.19.1 lib/ddtrace/ext/distributed.rb
ddtrace-0.19.0 lib/ddtrace/ext/distributed.rb
ddtrace-0.18.3 lib/ddtrace/ext/distributed.rb
ddtrace-0.18.2 lib/ddtrace/ext/distributed.rb
ddtrace-0.18.1 lib/ddtrace/ext/distributed.rb
ddtrace-0.18.0 lib/ddtrace/ext/distributed.rb
ddtrace-0.17.3 lib/ddtrace/ext/distributed.rb
ddtrace-0.17.2 lib/ddtrace/ext/distributed.rb
ddtrace-0.17.1 lib/ddtrace/ext/distributed.rb
ddtrace-0.17.0 lib/ddtrace/ext/distributed.rb
ddtrace-0.16.1 lib/ddtrace/ext/distributed.rb
ddtrace-0.15.0.internaltracinfeature1 lib/ddtrace/ext/distributed.rb
ddtrace-0.16.0 lib/ddtrace/ext/distributed.rb
ddtrace-0.14.2.disableprotocolversion4 lib/ddtrace/ext/distributed.rb
ddtrace-0.15.0 lib/ddtrace/ext/distributed.rb
ddtrace-0.14.2.withoutpriorityparsing1 lib/ddtrace/ext/distributed.rb
ddtrace-0.14.2 lib/ddtrace/ext/distributed.rb
ddtrace-0.14.1 lib/ddtrace/ext/distributed.rb
ddtrace-0.15.0.beta1 lib/ddtrace/ext/distributed.rb
ddtrace-0.14.0 lib/ddtrace/ext/distributed.rb