Sha256: b6e51d021f55a611784c38a24765999adaa1c3d9b7e2bfd6c2d9f63b88be534d

Contents?: true

Size: 1.48 KB

Versions: 20

Compression:

Stored size: 1.48 KB

Contents

# frozen_string_literal: true

module Datadog
  module Core
    module Runtime
      # @public_api
      module Ext
        TAG_ID = 'runtime-id'
        TAG_LANG = 'language'
        TAG_PROCESS_ID = 'process_id'

        # Metrics
        # @public_api
        module Metrics
          ENV_ENABLED = 'DD_RUNTIME_METRICS_ENABLED'

          METRIC_CLASS_COUNT = 'runtime.ruby.class_count'
          METRIC_GC_PREFIX = 'runtime.ruby.gc'
          METRIC_THREAD_COUNT = 'runtime.ruby.thread_count'
          METRIC_GLOBAL_CONSTANT_STATE = 'runtime.ruby.global_constant_state'
          METRIC_GLOBAL_METHOD_STATE = 'runtime.ruby.global_method_state'
          METRIC_CONSTANT_CACHE_INVALIDATIONS = 'runtime.ruby.constant_cache_invalidations'
          METRIC_CONSTANT_CACHE_MISSES = 'runtime.ruby.constant_cache_misses'
          METRIC_YJIT_CODE_GC_COUNT = 'runtime.ruby.yjit.code_gc_count'
          METRIC_YJIT_CODE_REGION_SIZE = 'runtime.ruby.yjit.code_region_size'
          METRIC_YJIT_FREED_CODE_SIZE = 'runtime.ruby.yjit.freed_code_size'
          METRIC_YJIT_FREED_PAGE_COUNT = 'runtime.ruby.yjit.freed_page_count'
          METRIC_YJIT_INLINE_CODE_SIZE = 'runtime.ruby.yjit.inline_code_size'
          METRIC_YJIT_LIVE_PAGE_COUNT = 'runtime.ruby.yjit.live_page_count'
          METRIC_YJIT_OBJECT_SHAPE_COUNT = 'runtime.ruby.yjit.object_shape_count'
          METRIC_YJIT_OUTLINED_CODE_SIZE = 'runtime.ruby.yjit.outlined_code_size'

          TAG_SERVICE = 'service'
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
ddtrace-1.23.3 lib/datadog/core/runtime/ext.rb
ddtrace-1.23.2 lib/datadog/core/runtime/ext.rb
datadog-2.0.0 lib/datadog/core/runtime/ext.rb
ddtrace-1.23.1 lib/datadog/core/runtime/ext.rb
datadog-2.0.0.beta2 lib/datadog/core/runtime/ext.rb
ddtrace-1.22.0 lib/datadog/core/runtime/ext.rb
datadog-2.0.0.beta1 lib/datadog/core/runtime/ext.rb
ddtrace-1.21.1 lib/datadog/core/runtime/ext.rb
ddtrace-1.21.0 lib/datadog/core/runtime/ext.rb
ddtrace-1.20.0 lib/datadog/core/runtime/ext.rb
ddtrace-1.19.0 lib/datadog/core/runtime/ext.rb
ddtrace-1.18.0 lib/datadog/core/runtime/ext.rb
ddtrace-1.17.0 lib/datadog/core/runtime/ext.rb
ddtrace-1.16.2 lib/datadog/core/runtime/ext.rb
ddtrace-1.16.1 lib/datadog/core/runtime/ext.rb
ddtrace-1.16.0 lib/datadog/core/runtime/ext.rb
ddtrace-1.15.0 lib/datadog/core/runtime/ext.rb
ddtrace-1.14.0 lib/datadog/core/runtime/ext.rb
ddtrace-1.13.1 lib/datadog/core/runtime/ext.rb
ddtrace-1.13.0 lib/datadog/core/runtime/ext.rb