Sha256: feba3e66a667d15fc1e7b87f615ae237ac2f2d56ac7c9b7624b46961163c553e

Contents?: true

Size: 1.39 KB

Versions: 11

Compression:

Stored size: 1.39 KB

Contents

# typed: true

module Datadog
  module Tracing
    module Contrib
      module Sinatra
        # Sinatra integration constants
        # @public_api Changing resource names, tag names, or environment variables creates breaking changes.
        module Ext
          ENV_ENABLED = 'DD_TRACE_SINATRA_ENABLED'.freeze
          ENV_ANALYTICS_ENABLED = 'DD_TRACE_SINATRA_ANALYTICS_ENABLED'.freeze
          ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_SINATRA_ANALYTICS_SAMPLE_RATE'.freeze
          RACK_ENV_REQUEST_SPAN = 'datadog.sinatra_request_span'.freeze
          RACK_ENV_MIDDLEWARE_START_TIME = 'datadog.sinatra_middleware_start_time'.freeze
          RACK_ENV_MIDDLEWARE_TRACED = 'datadog.sinatra_middleware_traced'.freeze
          SPAN_RENDER_TEMPLATE = 'sinatra.render_template'.freeze
          SPAN_REQUEST = 'sinatra.request'.freeze
          SPAN_ROUTE = 'sinatra.route'.freeze
          TAG_APP_NAME = 'sinatra.app.name'.freeze
          TAG_COMPONENT = 'sinatra'.freeze
          TAG_OPERATION_RENDER_TEMPLATE = 'render_template'.freeze
          TAG_OPERATION_REQUEST = 'request'.freeze
          TAG_OPERATION_ROUTE = 'route'.freeze
          TAG_ROUTE_PATH = 'sinatra.route.path'.freeze
          TAG_SCRIPT_NAME = 'sinatra.script_name'.freeze
          TAG_TEMPLATE_ENGINE = 'sinatra.template_engine'.freeze
          TAG_TEMPLATE_NAME = 'sinatra.template_name'.freeze
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ddtrace-1.5.2 lib/datadog/tracing/contrib/sinatra/ext.rb
ddtrace-1.5.1 lib/datadog/tracing/contrib/sinatra/ext.rb
ddtrace-1.5.0 lib/datadog/tracing/contrib/sinatra/ext.rb
ddtrace-1.4.2 lib/datadog/tracing/contrib/sinatra/ext.rb
ddtrace-1.4.1 lib/datadog/tracing/contrib/sinatra/ext.rb
ddtrace-1.4.0 lib/datadog/tracing/contrib/sinatra/ext.rb
ddtrace-1.3.0 lib/datadog/tracing/contrib/sinatra/ext.rb
ddtrace-1.2.0 lib/datadog/tracing/contrib/sinatra/ext.rb
ddtrace-1.1.0 lib/datadog/tracing/contrib/sinatra/ext.rb
ddtrace-1.0.0 lib/datadog/tracing/contrib/sinatra/ext.rb
ddtrace-1.0.0.beta2 lib/datadog/tracing/contrib/sinatra/ext.rb