Sha256: cbce096a60f560bbb4a832f486a9149d8b0cb6b683e5c037fb3ed5e0b88ff4cb

Contents?: true

Size: 1.05 KB

Versions: 7

Compression:

Stored size: 1.05 KB

Contents

module Datadog
  module Tracing
    module Contrib
      module DelayedJob
        # DelayedJob integration constants
        # @public_api Changing resource names, tag names, or environment variables creates breaking changes.
        module Ext
          ENV_ENABLED = 'DD_TRACE_DELAYED_JOB_ENABLED'.freeze
          ENV_ANALYTICS_ENABLED = 'DD_TRACE_DELAYED_JOB_ANALYTICS_ENABLED'.freeze
          ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_DELAYED_JOB_ANALYTICS_SAMPLE_RATE'.freeze
          SPAN_JOB = 'delayed_job'.freeze
          SPAN_ENQUEUE = 'delayed_job.enqueue'.freeze
          SPAN_RESERVE_JOB = 'delayed_job.reserve_job'.freeze
          TAG_ATTEMPTS = 'delayed_job.attempts'.freeze
          TAG_ID = 'delayed_job.id'.freeze
          TAG_PRIORITY = 'delayed_job.priority'.freeze
          TAG_QUEUE = 'delayed_job.queue'.freeze
          TAG_COMPONENT = 'delayed_job'.freeze
          TAG_OPERATION_ENQUEUE = 'enqueue'.freeze
          TAG_OPERATION_JOB = 'job'.freeze
          TAG_OPERATION_RESERVE_JOB = 'reserve_job'.freeze
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ddtrace-1.12.1 lib/datadog/tracing/contrib/delayed_job/ext.rb
ddtrace-1.12.0 lib/datadog/tracing/contrib/delayed_job/ext.rb
ddtrace-1.11.1 lib/datadog/tracing/contrib/delayed_job/ext.rb
ddtrace-1.11.0 lib/datadog/tracing/contrib/delayed_job/ext.rb
ddtrace-1.11.0.beta1 lib/datadog/tracing/contrib/delayed_job/ext.rb
ddtrace-1.10.1 lib/datadog/tracing/contrib/delayed_job/ext.rb
ddtrace-1.10.0 lib/datadog/tracing/contrib/delayed_job/ext.rb