Sha256: 5f40fbb089e180c2338cf56f83767cce7b3c1505e95a04f9e0d118a8260c3e01

Contents?: true

Size: 1.17 KB

Versions: 13

Compression:

Stored size: 1.17 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'
          ENV_ERROR_STATUS_CODES = 'DD_TRACE_GRAPE_ERROR_STATUS_CODES'
          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

13 entries across 13 versions & 1 rubygems

Version Path
datadog-2.9.0 lib/datadog/tracing/contrib/grape/ext.rb
datadog-2.8.0 lib/datadog/tracing/contrib/grape/ext.rb
datadog-2.7.1 lib/datadog/tracing/contrib/grape/ext.rb
datadog-2.7.0 lib/datadog/tracing/contrib/grape/ext.rb
datadog-2.6.0 lib/datadog/tracing/contrib/grape/ext.rb
datadog-2.5.0 lib/datadog/tracing/contrib/grape/ext.rb
datadog-2.4.0 lib/datadog/tracing/contrib/grape/ext.rb
datadog-2.3.0 lib/datadog/tracing/contrib/grape/ext.rb
datadog-2.2.0 lib/datadog/tracing/contrib/grape/ext.rb
datadog-2.1.0 lib/datadog/tracing/contrib/grape/ext.rb
datadog-2.0.0 lib/datadog/tracing/contrib/grape/ext.rb
datadog-2.0.0.beta2 lib/datadog/tracing/contrib/grape/ext.rb
datadog-2.0.0.beta1 lib/datadog/tracing/contrib/grape/ext.rb