Sha256: 63c8ddc6dc25a5e33c16c7580f3658c63acab4772b949100c44318af1c618b72

Contents?: true

Size: 974 Bytes

Versions: 4

Compression:

Stored size: 974 Bytes

Contents

# typed: true

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
          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
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ddtrace-1.2.0 lib/datadog/tracing/contrib/delayed_job/ext.rb
ddtrace-1.1.0 lib/datadog/tracing/contrib/delayed_job/ext.rb
ddtrace-1.0.0 lib/datadog/tracing/contrib/delayed_job/ext.rb
ddtrace-1.0.0.beta2 lib/datadog/tracing/contrib/delayed_job/ext.rb