lib/datadog/tracing/contrib/hanami/ext.rb in ddtrace-1.12.1 vs lib/datadog/tracing/contrib/hanami/ext.rb in ddtrace-1.13.0

- old
+ new

@@ -1,21 +1,23 @@ +# 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'.freeze + ENV_ENABLED = 'DD_TRACE_HANAMI_ENABLED' - SPAN_ACTION = 'hanami.action'.freeze - SPAN_ROUTING = 'hanami.routing'.freeze - SPAN_RENDER = 'hanami.render'.freeze + SPAN_ACTION = 'hanami.action' + SPAN_ROUTING = 'hanami.routing' + SPAN_RENDER = 'hanami.render' - TAG_COMPONENT = 'hanami'.freeze - TAG_OPERATION_ACTION = 'action'.freeze - TAG_OPERATION_ROUTING = 'routing'.freeze - TAG_OPERATION_RENDER = 'render'.freeze + TAG_COMPONENT = 'hanami' + TAG_OPERATION_ACTION = 'action' + TAG_OPERATION_ROUTING = 'routing' + TAG_OPERATION_RENDER = 'render' end end end end end