Skip to content

Commit

Permalink
Merge pull request #3401 from DataDog/tonycthsu/remove-deprecated-sin…
Browse files Browse the repository at this point in the history
…atra-constant

`Sinatra` :Remove deprecated constants
  • Loading branch information
TonyCTHsu committed Jan 25, 2024
2 parents 048f32f + a21e1f1 commit b9c8ffb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions lib/datadog/tracing/contrib/sinatra/ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ module Ext
TAG_SCRIPT_NAME = 'sinatra.script_name'
TAG_TEMPLATE_ENGINE = 'sinatra.template_engine'
TAG_TEMPLATE_NAME = 'sinatra.template_name'

# === Deprecated: To be removed ===
RACK_ENV_REQUEST_SPAN = 'datadog.sinatra_request_span'
RACK_ENV_MIDDLEWARE_START_TIME = 'datadog.sinatra_middleware_start_time'
RACK_ENV_MIDDLEWARE_TRACED = 'datadog.sinatra_middleware_traced'
# === Deprecated: To be removed ===
end
end
end
Expand Down
5 changes: 0 additions & 5 deletions sig/datadog/tracing/contrib/sinatra/ext.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ module Datadog
TAG_TEMPLATE_ENGINE: "sinatra.template_engine"

TAG_TEMPLATE_NAME: "sinatra.template_name"
RACK_ENV_REQUEST_SPAN: "datadog.sinatra_request_span"

RACK_ENV_MIDDLEWARE_START_TIME: "datadog.sinatra_middleware_start_time"

RACK_ENV_MIDDLEWARE_TRACED: "datadog.sinatra_middleware_traced"
end
end
end
Expand Down

0 comments on commit b9c8ffb

Please sign in to comment.