TL;DR: Datadog bills balloon when high-cardinality tags, noisy logs, and over-indexed traces turn telemetry into a continuously expanding cost surface, according to Sawmills. The deeper issue is governance: human review loops cannot keep pace with developer- and agent-generated telemetry, so cost control has to move into the pipeline.
At a glance
What this is: This analysis argues that Datadog cost overruns are driven by telemetry governance failures, especially high-cardinality tags, broad trace ingestion, and log indexing choices.
Why it matters: It matters because platform, IAM, and security teams increasingly need policy-driven control over machine-generated telemetry before cost and noise become operational debt.
Context
Datadog spend becomes a governance problem when telemetry generation is decentralised but billing is centralised. The same service-level decisions that improve visibility can also multiply billable series, logs, and spans if there is no control point between source systems and the observability backend.
For identity and access programmes, the pattern is familiar: control only at review time always loses to control at issuance time. The article extends that logic into observability, where developer and agent-generated telemetry behaves like an unmanaged production workflow unless it is shaped continuously.
Key questions
Q: How should teams stop high-cardinality telemetry from creating runaway Datadog cost?
A: Start by treating cardinality as a policy issue, not a cleanup issue. Enforce limits on tags such as user_id, request_id, and pod_name at the point telemetry is created, then aggregate or drop dimensions that add little diagnostic value. The goal is to prevent billable timeseries from expanding silently as services scale.
Q: Why do manual Datadog cost reviews keep failing over time?
A: Because the telemetry source keeps changing faster than a human audit cadence can track. Developers and agents can add new metrics, traces, and tags continuously, so any quarterly review only catches the latest wave after spending has already accumulated. Continuous policy enforcement is more durable than retrospective cleanup.
Q: What are the signs that APM sampling is being misapplied?
A: The usual sign is that ingestion costs stay high even after teams think they reduced trace volume, or that the wrong traces are retained for search. That means head-based defaults, retention filters, and collector placement are not aligned. Effective sampling should preserve errors and slow requests while discarding low-value routine traffic.
Q: When should organisations route logs away from indexed storage?
A: When a log stream is rarely searched, exists mainly for retention, or can be rehydrated from cheaper storage if needed. Health checks, stable access logs, and low-value debug noise are better dropped or archived than indexed. The decision should follow query frequency and operational value, not a blanket retention rule.
Technical breakdown
Why high-cardinality tags explode custom metric cost
Datadog bills custom metrics as unique timeseries, which means every distinct combination of metric name and tag values becomes billable. High-cardinality tags such as pod_name, request_id, or user_id multiply the count dramatically, often without the team noticing until the invoice arrives. The core mechanism is combinatorial growth, not simple volume. A single metric can become hundreds of thousands or millions of timeseries when tags are unbounded, even if the dashboards still look normal. The practical issue is that observability design choices are now cost decisions, not just engineering preferences.
Practical implication: Treat tag cardinality as a governed control and remove unbounded dimensions before they reach the billing meter.
APM ingestion and indexing are different cost controls
APM cost splits into ingested spans and indexed spans, and teams often optimise one while forgetting the other. Head-based sampling decides up front whether a trace enters the system, which can still flood ingestion with routine traffic. Tail-based sampling shifts the decision until after the trace completes, so errors and slow requests can be retained while low-value traces are dropped. That makes placement critical. The collector or control layer needs visibility across the whole trace if cost and diagnostic value are both to be preserved. The mechanism is about selective retention, not just reduction.
Practical implication: Move sampling policy into a shared control point so trace retention reflects business value, not default agent behaviour.
Log indexing should follow query value, not retention habit
Datadog separates log ingestion from log indexing, so every stream does not deserve the same treatment. Frequently queried operational and security events belong in indexed logs, but routine health checks, stable access logs, and verbose debug output often do not. Some streams should be dropped at ingestion, others routed to cheaper storage, and only the small set with genuine search value should stay indexed. The architecture question is not whether to keep logs, but where they should live in the retrieval path. That is a governance decision about access to telemetry, not just data retention.
Practical implication: Classify each log stream by query value and route low-value telemetry away from indexed storage by policy.
NHI Mgmt Group analysis
Telemetry governance debt is the right name for Datadog cost sprawl: the problem is not a one-time cleanup failure, it is a control failure at the point telemetry is created. When developers and agents can emit new tags, spans, and logs without an upstream policy gate, cost becomes structurally unbounded. Practitioners should treat telemetry shaping as a standing governance control, not a periodic optimisation exercise.
Cardinality is the hidden control variable in observability economics: the bill is often determined less by how much data exists than by how many unique values the system is allowed to create. That makes metric design, tag policy, and runtime instrumentation part of the control plane. Practitioners should audit the high-cardinality dimensions that are silently turning useful metrics into expense multipliers.
Agent-generated instrumentation changes the risk model: coding agents collapse the time between adding telemetry and paying for it. They also remove the informal human brake that sometimes caught expensive tags during review. That means the governance question shifts from whether a human reviewer noticed the problem to whether the pipeline can stop it in real time.
Observability needs policy enforcement at the source, not just visibility after the fact: the article describes a classic control gap where the organisation can measure the problem only after the invoice arrives. That gap is now wider in agentic development environments because telemetry volume scales faster than manual review. Practitioners should move from cleanup logic to continuous enforcement.
Structured telemetry controls belong in the same class as identity governance: the article's core insight is that central review cannot govern decentralised emission. That mirrors a broader security pattern across IAM and NHI programmes, where the effective control is issuance-time policy, not retrospective certification. Practitioners should design observability governance as a lifecycle problem with policy, not a monthly reconciliation task.
What this signals
Telemetry governance is becoming a control-plane issue: when developers and coding agents can create new billable telemetry faster than platform teams can review it, observability cost ceases to be a cleanup problem. Practitioners should expect more pressure to enforce tag policy, sampling policy, and log routing upstream of the monitoring backend.
Agentic development widens the gap between emission and oversight: code generated at machine speed can propagate expensive instrumentation patterns into many services before any human sees the cost. That makes telemetry review a poor primary control and strengthens the case for policy enforcement in CI and collectors.
Cardinality management is now part of cost security: if teams do not govern how metric dimensions are created, they will keep paying for the same visibility twice, once in tooling and once in manual effort. The practical response is to make telemetry shape an explicit part of platform governance.
For practitioners
- Implement cardinality controls for custom metrics Inventory metrics by estimated timeseries count, then remove or aggregate tags with unbounded values such as request_id, pod_name, or user_id before they reach billing.
- Move sampling policy into a shared collector Apply tail-based or service-specific sampling in a central control point so retention decisions are made once, consistently, and with full-trace context.
- Route logs by query value Separate logs into indexed, infrequent-access, archive, and drop-at-ingestion paths so only streams with real retrieval value are indexed.
- Add telemetry policy checks to CI Block releases that introduce new high-cardinality tags or unsupported logging patterns, especially when code is generated or modified by agents.
- Review agent-generated instrumentation separately Treat telemetry added by coding agents as a distinct review category because it can scale faster than normal code review and often looks correct while being expensive.
Key takeaways
- Datadog cost sprawl is caused by uncontrolled telemetry shape, not just excessive volume, and high-cardinality tags are the most expensive failure mode.
- Manual cleanup can reduce spend temporarily, but it does not keep pace with continuous telemetry generation from services and coding agents.
- The durable control is policy at emission and collection time, where metrics, traces, and logs can be shaped before they become billable noise.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while NIST CSF 2.0, CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | Telemetry controls behave like governed entitlements over what data is allowed to flow. |
| PR.DS-01 — Data-at-rest | Log archive and retention routing are directly about where telemetry data is stored. | |
| Recommendation — Apply PR.AA-05-style control discipline to restrict which telemetry dimensions can be emitted and indexed. Route low-value logs to cheaper storage and keep indexed data limited to what is operationally needed. | ||
| CIS Controls v8 | CIS-5 — Account Management | The article's control problem is lifecycle governance over who or what can create billable telemetry. |
| Recommendation — Treat telemetry-emitting services and agents as managed accounts and restrict their default instrumentation patterns. | ||
| NIST SP 800-53 Rev 5 | AC-6 — Least Privilege | Unbounded tags and unrestricted telemetry generation are least-privilege failures in data flow. |
| Recommendation — Enforce least privilege on telemetry sources so they can emit only approved metrics, traces, and log streams. | ||
| MITRE ATT&CK | TA0040 — Impact | The primary effect described is operational and financial impact through runaway cost. |
| Recommendation — Map uncontrolled telemetry growth to impact analysis and prioritise controls that reduce spend amplification. | ||
Key terms
- Telemetry-driven governance: Telemetry-driven governance is a control approach that relies on runtime signals rather than periodic paperwork. For AI, that means watching drift, leakage, prompt anomalies, and other live indicators so governance decisions reflect current system behaviour instead of stale review findings.
- High Cardinality: High cardinality describes metric labels or fields that generate a very large number of unique values. It is not inherently wrong, but it becomes a problem when dynamic identifiers, user specific paths, or instance IDs create excessive time series and drive cost and performance issues.
- Tail-Based Sampling: A trace sampling method that decides whether to keep a trace after the request completes. It preserves error and latency outliers more reliably than early sampling, which makes it useful when teams need value-based trace retention instead of blind volume reduction.
- Log Indexing: Log indexing is the process of making logs searchable in the monitoring platform, which usually costs more than simple storage. Teams should reserve indexing for streams they query often and move lower-value logs to archive or ingestion-only paths.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, agentic AI identity, machine identity security, and secrets management. It helps practitioners connect control design to the broader security programme they already run.
Published by the NHIMG editorial team on August 19, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org