Sha256: 95b5627f4061a36bdeb72bb9cfad94f4017fdb9849ae4fdb405501a7fb84751d

Contents?: true

Size: 1.49 KB

Versions: 20

Compression:

Stored size: 1.49 KB

Contents

# frozen_string_literal: true

module Datadog
  module Tracing
    module Contrib
      module ActiveJob
        # @public_api Changing resource names, tag names, or environment variables creates breaking changes.
        module Ext
          ENV_ENABLED = 'DD_TRACE_ACTIVE_JOB_ENABLED'
          # @!visibility private
          ENV_ANALYTICS_ENABLED = 'DD_TRACE_ACTIVE_JOB_ANALYTICS_ENABLED'
          ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_ACTIVE_JOB_ANALYTICS_SAMPLE_RATE'

          SPAN_DISCARD = 'active_job.discard'
          SPAN_ENQUEUE = 'active_job.enqueue'
          SPAN_ENQUEUE_RETRY = 'active_job.enqueue_retry'
          SPAN_PERFORM = 'active_job.perform'
          SPAN_RETRY_STOPPED = 'active_job.retry_stopped'

          TAG_COMPONENT = 'active_job'
          TAG_OPERATION_DISCARD = 'discard'
          TAG_OPERATION_ENQUEUE = 'enqueue'
          TAG_OPERATION_ENQUEUE_AT = 'enqueue_at'
          TAG_OPERATION_ENQUEUE_RETRY = 'enqueue_retry'
          TAG_OPERATION_PERFORM = 'perform'
          TAG_OPERATION_RETRY_STOPPED = 'retry_stopped'

          TAG_ADAPTER = 'active_job.adapter'
          TAG_JOB_ERROR = 'active_job.job.error'
          TAG_JOB_EXECUTIONS = 'active_job.job.executions'
          TAG_JOB_ID = 'active_job.job.id'
          TAG_JOB_PRIORITY = 'active_job.job.priority'
          TAG_JOB_QUEUE = 'active_job.job.queue'
          TAG_JOB_RETRY_WAIT = 'active_job.job.retry_wait'
          TAG_JOB_SCHEDULED_AT = 'active_job.job.scheduled_at'
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
datadog-2.9.0 lib/datadog/tracing/contrib/active_job/ext.rb
datadog-2.8.0 lib/datadog/tracing/contrib/active_job/ext.rb
datadog-2.7.1 lib/datadog/tracing/contrib/active_job/ext.rb
datadog-2.7.0 lib/datadog/tracing/contrib/active_job/ext.rb
datadog-2.6.0 lib/datadog/tracing/contrib/active_job/ext.rb
datadog-2.5.0 lib/datadog/tracing/contrib/active_job/ext.rb
datadog-2.4.0 lib/datadog/tracing/contrib/active_job/ext.rb
datadog-2.3.0 lib/datadog/tracing/contrib/active_job/ext.rb
datadog-2.2.0 lib/datadog/tracing/contrib/active_job/ext.rb
ddtrace-1.23.3 lib/datadog/tracing/contrib/active_job/ext.rb
ddtrace-1.23.2 lib/datadog/tracing/contrib/active_job/ext.rb
datadog-2.1.0 lib/datadog/tracing/contrib/active_job/ext.rb
datadog-2.0.0 lib/datadog/tracing/contrib/active_job/ext.rb
ddtrace-1.23.1 lib/datadog/tracing/contrib/active_job/ext.rb
datadog-2.0.0.beta2 lib/datadog/tracing/contrib/active_job/ext.rb
ddtrace-1.22.0 lib/datadog/tracing/contrib/active_job/ext.rb
datadog-2.0.0.beta1 lib/datadog/tracing/contrib/active_job/ext.rb
ddtrace-1.21.1 lib/datadog/tracing/contrib/active_job/ext.rb
ddtrace-1.21.0 lib/datadog/tracing/contrib/active_job/ext.rb
ddtrace-1.20.0 lib/datadog/tracing/contrib/active_job/ext.rb