Sha256: c31e6f540ad1d6b6fcf1e8b4b1a2c0babce0f922e2698d52e5353504fd7da13b

Contents?: true

Size: 1.1 KB

Versions: 7

Compression:

Stored size: 1.1 KB

Contents

# frozen_string_literal: true

module Datadog
  module Tracing
    module Contrib
      module Grape
        # Grape integration constants
        # @public_api Changing resource names, tag names, or environment variables creates breaking changes.
        module Ext
          ENV_ENABLED = 'DD_TRACE_GRAPE_ENABLED'
          # @!visibility private
          ENV_ANALYTICS_ENABLED = 'DD_TRACE_GRAPE_ANALYTICS_ENABLED'
          ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_GRAPE_ANALYTICS_SAMPLE_RATE'
          SPAN_ENDPOINT_RENDER = 'grape.endpoint_render'
          SPAN_ENDPOINT_RUN = 'grape.endpoint_run'
          SPAN_ENDPOINT_RUN_FILTERS = 'grape.endpoint_run_filters'
          TAG_COMPONENT = 'grape'
          TAG_FILTER_TYPE = 'grape.filter.type'
          TAG_OPERATION_ENDPOINT_RENDER = 'endpoint_render'
          TAG_OPERATION_ENDPOINT_RUN = 'endpoint_run'
          TAG_OPERATION_ENDPOINT_RUN_FILTERS = 'endpoint_run_filters'
          TAG_ROUTE_ENDPOINT = 'grape.route.endpoint'
          TAG_ROUTE_PATH = 'grape.route.path'
          TAG_ROUTE_METHOD = 'grape.route.method'
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ddtrace-1.23.3 lib/datadog/tracing/contrib/grape/ext.rb
ddtrace-1.23.2 lib/datadog/tracing/contrib/grape/ext.rb
ddtrace-1.23.1 lib/datadog/tracing/contrib/grape/ext.rb
ddtrace-1.22.0 lib/datadog/tracing/contrib/grape/ext.rb
ddtrace-1.21.1 lib/datadog/tracing/contrib/grape/ext.rb
ddtrace-1.21.0 lib/datadog/tracing/contrib/grape/ext.rb
ddtrace-1.20.0 lib/datadog/tracing/contrib/grape/ext.rb