Sha256: efb60d4bb15633cd48ded5317da540747c0a83e4eac68791ffe1809da55881c5

Contents?: true

Size: 648 Bytes

Versions: 28

Compression:

Stored size: 648 Bytes

Contents

# frozen_string_literal: true

module Datadog
  module Tracing
    module Contrib
      module Hanami
        # Hanami integration constants
        # @public_api Changing resource names, tag names, or environment variables creates breaking changes.
        module Ext
          ENV_ENABLED = 'DD_TRACE_HANAMI_ENABLED'

          SPAN_ACTION =  'hanami.action'
          SPAN_ROUTING = 'hanami.routing'
          SPAN_RENDER =  'hanami.render'

          TAG_COMPONENT = 'hanami'
          TAG_OPERATION_ACTION = 'action'
          TAG_OPERATION_ROUTING = 'routing'
          TAG_OPERATION_RENDER = 'render'
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
ddtrace-1.17.0 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.16.2 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.16.1 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.16.0 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.15.0 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.14.0 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.13.1 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.13.0 lib/datadog/tracing/contrib/hanami/ext.rb