Sha256: 3ce09d2588a6449649745fb8e4076e2701b4fb300fffc572a249b47963eb28ed

Contents?: true

Size: 690 Bytes

Versions: 5

Compression:

Stored size: 690 Bytes

Contents

# typed: ignore

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

5 entries across 5 versions & 1 rubygems

Version Path
ddtrace-1.9.0 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.8.0 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.7.0 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.6.1 lib/datadog/tracing/contrib/hanami/ext.rb
ddtrace-1.6.0 lib/datadog/tracing/contrib/hanami/ext.rb