Sha256: 57c21e568950a8b206bbc145a41defda788331c966f7a19424603cce459e2698

Contents?: true

Size: 673 Bytes

Versions: 7

Compression:

Stored size: 673 Bytes

Contents

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'.freeze

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

          TAG_COMPONENT = 'hanami'.freeze
          TAG_OPERATION_ACTION = 'action'.freeze
          TAG_OPERATION_ROUTING = 'routing'.freeze
          TAG_OPERATION_RENDER = 'render'.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/hanami/ext.rb
ddtrace-1.12.0 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.11.1 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.11.0 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.11.0.beta1 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.10.1 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.10.0 lib/datadog/tracing/contrib/hanami/ext.rb