Sha256: 98d684ebe5a10db95375daf2082c473448895641ad8388a1aef049970af73d59

Contents?: true

Size: 757 Bytes

Versions: 3

Compression:

Stored size: 757 Bytes

Contents

require 'ddtrace/version'

module Datadog
  module Ext
    module Runtime
      # Identity
      LANG = 'ruby'.freeze
      LANG_INTERPRETER = (RUBY_ENGINE + '-' + RUBY_PLATFORM).freeze
      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

3 entries across 3 versions & 1 rubygems

Version Path
ddtrace-0.45.0 lib/ddtrace/ext/runtime.rb
ddtrace-0.44.0 lib/ddtrace/ext/runtime.rb
ddtrace-0.43.0 lib/ddtrace/ext/runtime.rb