Sha256: 583299938373665282b289e1d556ff8cb8da582d66774ad4721aad43d4a82715

Contents?: true

Size: 823 Bytes

Versions: 4

Compression:

Stored size: 823 Bytes

Contents

require 'ddtrace/version'

module Datadog
  module Ext
    module Runtime
      # Identity
      LANG = 'ruby'.freeze
      LANG_ENGINE = RUBY_ENGINE
      LANG_INTERPRETER = "#{RUBY_ENGINE}-#{RUBY_PLATFORM}".freeze
      LANG_PLATFORM = RUBY_PLATFORM
      LANG_VERSION = RUBY_VERSION
      RUBY_ENGINE =  ::RUBY_ENGINE # e.g. 'ruby', 'jruby', 'truffleruby'
      TRACER_VERSION = Datadog::VERSION::STRING

      TAG_ID = 'runtime-id'.freeze
      TAG_LANG = 'language'.freeze

      # Metrics
      module Metrics
        ENV_ENABLED = 'DD_RUNTIME_METRICS_ENABLED'.freeze

        METRIC_CLASS_COUNT = 'runtime.ruby.class_count'.freeze
        METRIC_GC_PREFIX = 'runtime.ruby.gc'.freeze
        METRIC_THREAD_COUNT = 'runtime.ruby.thread_count'.freeze

        TAG_SERVICE = 'service'.freeze
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ddtrace-0.50.0 lib/ddtrace/ext/runtime.rb
ddtrace-0.49.0 lib/ddtrace/ext/runtime.rb
ddtrace-0.48.0 lib/ddtrace/ext/runtime.rb
ddtrace-0.47.0 lib/ddtrace/ext/runtime.rb