lib/datadog/tracing/contrib/httpclient/ext.rb in ddtrace-1.7.0 vs lib/datadog/tracing/contrib/httpclient/ext.rb in ddtrace-1.8.0
- old
+ new
@@ -6,9 +6,10 @@
module Httpclient
# Httpclient integration constants
# @public_api Changing resource names, tag names, or environment variables creates breaking changes.
module Ext
ENV_ENABLED = 'DD_TRACE_HTTPCLIENT_ENABLED'.freeze
+ ENV_SERVICE_NAME = 'DD_TRACE_HTTPCLIENT_SERVICE_NAME'.freeze
ENV_ANALYTICS_ENABLED = 'DD_TRACE_HTTPCLIENT_ANALYTICS_ENABLED'.freeze
ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_HTTPCLIENT_ANALYTICS_SAMPLE_RATE'.freeze
DEFAULT_PEER_SERVICE_NAME = 'httpclient'.freeze
SPAN_REQUEST = 'httpclient.request'.freeze
TAG_COMPONENT = 'httpclient'.freeze