Sha256: 1baebd88d55f9942c19e539aa2661764881b8091260fa764681c43a87dde8a37

Contents?: true

Size: 1.87 KB

Versions: 15

Compression:

Stored size: 1.87 KB

Contents

module Datadog
  module Ext
    module Diagnostics
      DD_TRACE_STARTUP_LOGS = 'DD_TRACE_STARTUP_LOGS'.freeze
      DD_TRACE_DEBUG = 'DD_TRACE_DEBUG'.freeze
      DD_TRACE_ENABLED = 'DD_TRACE_ENABLED'.freeze
      # Health
      module Health
        # Metrics
        module Metrics
          ENV_ENABLED = 'DD_HEALTH_METRICS_ENABLED'.freeze

          METRIC_API_ERRORS = 'datadog.tracer.api.errors'.freeze
          METRIC_API_REQUESTS = 'datadog.tracer.api.requests'.freeze
          METRIC_API_RESPONSES = 'datadog.tracer.api.responses'.freeze
          METRIC_ERROR_CONTEXT_OVERFLOW = 'datadog.tracer.error.context_overflow'.freeze
          METRIC_ERROR_INSTRUMENTATION_PATCH = 'datadog.tracer.error.instrumentation_patch'.freeze
          METRIC_ERROR_SPAN_FINISH = 'datadog.tracer.error.span_finish'.freeze
          METRIC_ERROR_UNFINISHED_SPANS = 'datadog.tracer.error.unfinished_spans'.freeze
          METRIC_INSTRUMENTATION_PATCHED = 'datadog.tracer.instrumentation_patched'.freeze
          METRIC_QUEUE_ACCEPTED = 'datadog.tracer.queue.accepted'.freeze
          METRIC_QUEUE_ACCEPTED_LENGTHS = 'datadog.tracer.queue.accepted_lengths'.freeze
          METRIC_QUEUE_DROPPED = 'datadog.tracer.queue.dropped'.freeze
          METRIC_QUEUE_LENGTH = 'datadog.tracer.queue.length'.freeze
          METRIC_QUEUE_MAX_LENGTH = 'datadog.tracer.queue.max_length'.freeze
          METRIC_QUEUE_SPANS = 'datadog.tracer.queue.spans'.freeze
          METRIC_SAMPLING_SERVICE_CACHE_LENGTH = 'datadog.tracer.sampling.service_cache_length'.freeze
          METRIC_TRACES_FILTERED = 'datadog.tracer.traces.filtered'.freeze
          METRIC_TRANSPORT_CHUNKED = 'datadog.tracer.transport.chunked'.freeze
          METRIC_TRANSPORT_TRACE_TOO_LARGE = 'datadog.tracer.transport.trace_too_large'.freeze
          METRIC_WRITER_CPU_TIME = 'datadog.tracer.writer.cpu_time'.freeze
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
ddtrace-0.51.1 lib/ddtrace/ext/diagnostics.rb
ddtrace-0.51.0 lib/ddtrace/ext/diagnostics.rb
ddtrace-0.50.0 lib/ddtrace/ext/diagnostics.rb
ddtrace-0.49.0 lib/ddtrace/ext/diagnostics.rb
ddtrace-0.48.0 lib/ddtrace/ext/diagnostics.rb
ddtrace-0.47.0 lib/ddtrace/ext/diagnostics.rb
ddtrace-0.46.0 lib/ddtrace/ext/diagnostics.rb
ddtrace-0.45.0 lib/ddtrace/ext/diagnostics.rb
ddtrace-0.44.0 lib/ddtrace/ext/diagnostics.rb
ddtrace-0.43.0 lib/ddtrace/ext/diagnostics.rb
ddtrace-0.42.0 lib/ddtrace/ext/diagnostics.rb
ddtrace-0.41.0 lib/ddtrace/ext/diagnostics.rb
ls-trace-0.2.0 lib/ddtrace/ext/diagnostics.rb
ddtrace-0.40.0 lib/ddtrace/ext/diagnostics.rb
ddtrace-0.39.0 lib/ddtrace/ext/diagnostics.rb