Sha256: 2dc7d21285a9b1389f9bca7d647d78cda1c9fedcd69d0c163682db0bcbe63ac2

Contents?: true

Size: 1.05 KB

Versions: 13

Compression:

Stored size: 1.05 KB

Contents

module Datadog
  module Contrib
    module Rails
      # Rails integration constants
      module Ext
        APP = 'rails'.freeze
        ENV_ANALYTICS_ENABLED = 'DD_RAILS_ANALYTICS_ENABLED'.freeze
        ENV_ANALYTICS_SAMPLE_RATE = 'DD_RAILS_ANALYTICS_SAMPLE_RATE'.freeze
        QUANTIZE_CACHE_MAX_KEY_SIZE = 300
        RESOURCE_CACHE_DELETE = 'DELETE'.freeze
        RESOURCE_CACHE_GET = 'GET'.freeze
        RESOURCE_CACHE_SET = 'SET'.freeze
        SPAN_ACTION_CONTROLLER = 'rails.action_controller'.freeze
        SPAN_CACHE = 'rails.cache'.freeze
        SPAN_RENDER_PARTIAL = 'rails.render_partial'.freeze
        SPAN_RENDER_TEMPLATE = 'rails.render_template'.freeze
        SPAN_TYPE_CACHE = 'cache'.freeze
        TAG_CACHE_BACKEND = 'rails.cache.backend'.freeze
        TAG_CACHE_KEY = 'rails.cache.key'.freeze
        TAG_LAYOUT = 'rails.layout'.freeze
        TAG_ROUTE_ACTION = 'rails.route.action'.freeze
        TAG_ROUTE_CONTROLLER = 'rails.route.controller'.freeze
        TAG_TEMPLATE_NAME = 'rails.template_name'.freeze
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ddtrace-0.26.1 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.26.0 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.25.1 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.25.0 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.24.0 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.23.3 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.23.2 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.23.1 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.23.0 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.22.0 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.21.2 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.21.1 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.21.0 lib/ddtrace/contrib/rails/ext.rb