Sha256: 5179967e88981ec8d281b13a30c49e7a6c0f4569a53a4b33a14666f60bc9480f

Contents?: true

Size: 556 Bytes

Versions: 2

Compression:

Stored size: 556 Bytes

Contents

module Datadog
  module Ext
    module Environment
      ENV_API_KEY = 'DD_API_KEY'.freeze
      ENV_ENVIRONMENT = 'DD_ENV'.freeze
      ENV_SERVICE = 'DD_SERVICE'.freeze
      ENV_SITE = 'DD_SITE'.freeze
      ENV_TAGS = 'DD_TAGS'.freeze
      ENV_VERSION = 'DD_VERSION'.freeze

      FALLBACK_SERVICE_NAME =
        begin
          File.basename($PROGRAM_NAME, '.*')
        rescue StandardError
          'ruby'
        end.freeze

      TAG_ENV = 'env'.freeze
      TAG_SERVICE = 'service'.freeze
      TAG_VERSION = 'version'.freeze
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ddtrace-0.51.1 lib/ddtrace/ext/environment.rb
ddtrace-0.51.0 lib/ddtrace/ext/environment.rb