Sha256: 4933ebbaa7b65a448a405c54fe7303b4e5d10a9f9d5a243a0c3431e1afe99b51

Contents?: true

Size: 933 Bytes

Versions: 11

Compression:

Stored size: 933 Bytes

Contents

module Datadog
  module Contrib
    module Rails
      # Rails integration constants
      module Ext
        APP = 'rails'.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

11 entries across 11 versions & 1 rubygems

Version Path
ddtrace-0.20.0 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.19.1 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.19.0 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.18.3 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.18.2 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.18.1 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.18.0 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.17.3 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.17.2 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.17.1 lib/ddtrace/contrib/rails/ext.rb
ddtrace-0.17.0 lib/ddtrace/contrib/rails/ext.rb