Module: Datadog::DI::GuardrailsTelemetry::Reason Private
- Defined in:
- lib/datadog/di/guardrails_telemetry/reason.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Canonical guardrails reason codes. Codes shared with the other Datadog tracers keep the exact shared spelling; codes with no shared counterpart use the Ruby tracer's own name for the same decision.
Constant Summary collapse
- RATE_LIMIT_PROBE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Skip reason emitted when a probe firing is rejected by the probe's own rate limiter.
"rateLimitProbe"- RATE_LIMIT_GLOBAL =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Skip reason emitted when a probe firing is rejected by the process-wide rate limiter.
"rateLimitGlobal"- RATE_LIMIT_TRACE_BUDGET =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Skip reason emitted when a capturing probe firing is rejected by the per-trace emission counters of the coordinated sampling gate.
"rateLimitTraceBudget"- EVALUATION_TIMEOUT =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Skip reason emitted when an evaluation exceeds its time budget: a probe condition, a capture expression (including one skipped at the expired capture time budget), or a message template.
"evaluationTimeout"- EVALUATION_ERROR_THROTTLED =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Skip reason named in the +di: debug log when a condition-evaluation failure notification is rejected by the per-probe limiter.
"evaluationErrorThrottled"- BUDGET_EXCEEDED_INVOCATION =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Skip reason naming the per-invocation DI time budget guardrail decision.
"budgetExceededInvocation"- BUDGET_EXCEEDED_GLOBAL =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Skip reason naming the process-wide DI time budget guardrail decision.
"budgetExceededGlobal"- QUEUE_FULL =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Skip and drop reason emitted when an event is discarded at a full worker queue.
"queueFull"- QUEUE_HIGH_WATERMARK =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Skip and drop reason naming the queue high-watermark guardrail decision.
"queueHighWatermark"- PAYLOAD_TOO_LARGE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Drop reason emitted when a snapshot exceeds the serialized payload limit and pruning cannot fit it, and capture-incomplete reason emitted when pruning fits it.
"payloadTooLarge"- BATCH_BYTES_EXCEEDED =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Drop reason naming the batch byte-cap guardrail decision.
"batchBytesExceeded"- RUNTIME_ERROR =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Capture-incomplete reason emitted when a capture or serialization runtime exception ends the capture of a value early.
"runtimeError"- CAPTURE_TIMEOUT =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Capture-incomplete reason emitted when a value is not captured because the capture time budget expired while it was being serialized.
"timeout"- DEPTH =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Capture-incomplete reason emitted when a value at the maximum capture depth is not captured.
"depth"- FIELD_COUNT =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Capture-incomplete reason emitted when an object with more fields than the capture limit is partially captured.
"fieldCount"- COLLECTION_SIZE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Capture-incomplete reason emitted when a collection with more items than the capture limit is partially captured.
"collectionSize"- STRING_LENGTH =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Capture-incomplete reason emitted when a captured string is trimmed to the capture limit.
"stringLength"- OTHER =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Capture-incomplete reason for an early-capture cause with no more specific code.
"other"- PROBE_SCOPED_REASONS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
The skip reasons the events.skipped metric tags with the firing probe's id; every other skip reason names a decision shared across probes, process-wide or per-trace, and carries no probe id.
[RATE_LIMIT_PROBE, EVALUATION_TIMEOUT].freeze