Module: Datadog::Tracing::Contrib::Sinatra::Ext

Defined in:
lib/datadog/tracing/contrib/sinatra/ext.rb

Overview

Sinatra integration constants

Constant Summary collapse

ENV_ENABLED =
'DD_TRACE_SINATRA_ENABLED'
ENV_ANALYTICS_SAMPLE_RATE =
'DD_TRACE_SINATRA_ANALYTICS_SAMPLE_RATE'
RACK_ENV_SINATRA_REQUEST_SPAN =
'datadog.sinatra_request_span'
SPAN_RENDER_TEMPLATE =
'sinatra.render_template'
SPAN_REQUEST =
'sinatra.request'
SPAN_ROUTE =
'sinatra.route'
TAG_APP_NAME =
'sinatra.app.name'
TAG_COMPONENT =
'sinatra'
TAG_OPERATION_RENDER_TEMPLATE =
'render_template'
TAG_OPERATION_REQUEST =
'request'
TAG_OPERATION_ROUTE =
'route'
TAG_ROUTE_PATH =
'sinatra.route.path'
TAG_SCRIPT_NAME =
'sinatra.script_name'
TAG_TEMPLATE_ENGINE =
'sinatra.template_engine'
TAG_TEMPLATE_NAME =
'sinatra.template_name'
RACK_ENV_REQUEST_SPAN =

Deprecated: To be removed ===

'datadog.sinatra_request_span'
RACK_ENV_MIDDLEWARE_START_TIME =
'datadog.sinatra_middleware_start_time'
RACK_ENV_MIDDLEWARE_TRACED =
'datadog.sinatra_middleware_traced'