# What Drives High Datadog Costs in Kubernetes (and How to Spot Them)

> The seven Kubernetes patterns that inflate a Datadog bill, from node autoscaling and container overage to label-driven custom metrics, with the math for a 60-node cluster.

Source: https://openobserve.ai/blog/datadog-kubernetes-cost/
Published: 2026-11-23
Authors: Simran Kumari
Category: Engineering
Tags: OpenObserve, Kubernetes, Cost, Monitoring, Metrics, Logging

---

**Datadog Kubernetes costs** rise because Kubernetes multiplies the units Datadog bills on: nodes become hosts, autoscaling raises the monthly host count, dense nodes exceed the container allotment, labels multiply custom metrics, and every container produces logs to index. This guide walks through the seven biggest drivers, with example math for a cluster that scales from 40 to 60 nodes, and shows how to spot each one in your own bill.

## TL;DR

- Nodes, autoscaling peaks, and log indexing are the biggest drivers of Datadog costs on Kubernetes, and log indexing alone is often three quarters of the bill.
- Container overage and label-driven custom metrics are the hidden drivers, because they grow with pod density and pod churn rather than cluster size.
- Datadog's estimated usage metrics, lined up against autoscaling events and deployments, show which driver is moving your bill.
- OpenObserve removes these drivers entirely, with no per-node, per-container, per-APM-host, or per-custom-metric fees, so only data volume changes the price.

## Why is Datadog so expensive on Kubernetes?

Datadog prices infrastructure, APM, containers, custom metrics, and logs separately, and a Kubernetes cluster touches all five at once. On a fleet of static virtual machines, those meters move slowly. On Kubernetes, nodes come and go with the autoscaler, pods are rescheduled on every deploy, and each pod brings new label values and new log streams, so every meter moves at the same time. Here's how each Kubernetes object maps to a Datadog billing unit:

| Kubernetes object | Datadog billing unit | List price |
|---|---|---|
| Node running the Agent | Infrastructure host | $15 per host per month (Pro, billed annually) |
| Node running traced workloads | APM host | $31 per host per month (billed annually) |
| Container beyond 5 per host (Pro) or 10 (Enterprise) | Container hour | $0.002 per container hour |
| Metric name plus each unique set of label values | Custom metric | $5 per 100 per month, beyond 100 per host (Pro) |
| Container log line | Log event, ingested then indexed | $0.10 per GB ingested, plus $1.70 per million events indexed (15-day) or $2.50 (30-day), billed annually |

(Source: Datadog pricing list and billing docs, November 2026)

Each line grows with a different Kubernetes behaviour: node count, autoscaling, pod density, label cardinality, and log verbosity. That's why a cluster can double its Datadog bill without doubling its capacity. For the full product price list, see our [Datadog pricing guide](/blog/datadog-pricing/).

## What are the 7 biggest Kubernetes cost drivers on Datadog?

The seven drivers below are ordered roughly by how quickly they show up on a new cluster. The first two are about how many hosts Datadog counts, the next three are about what runs on those hosts, and the last two are about how Kubernetes scheduling and churn multiply everything else.

### 1. Every Kubernetes node is a billable Datadog host

Datadog defines a host as "a physical or virtual operating system instance". (Source: Datadog docs, Pricing, November 2026) In Kubernetes, that means every node running the Datadog Agent DaemonSet is an infrastructure host, whatever its size.

Node sizing therefore changes the bill even when total capacity stays the same. Forty nodes with 8 vCPUs each cost twice as much in host fees as twenty nodes with 16 vCPUs each, although both clusters have 320 vCPUs. Teams that choose small nodes for bin-packing or blast-radius reasons pay for that choice in every per-host line: infrastructure, APM, and the custom metric and container allotments that come with each host.

### 2. Cluster autoscaling sets the Datadog host count for the whole month

Datadog meters hosts hourly and bills on the high-water mark of the lower 99% of hours in the month. (Source: Datadog docs, Billing, November 2026) The top 1% is about 7 hours in a 30-day month. If the cluster autoscaler adds nodes for a launch, a batch window, or a traffic spike that lasts longer than that, the peak becomes your host count for the month, even if the cluster runs smaller for the other 29 days.

<div class="not-prose my-8" style="overflow-x:auto">
<svg viewBox="0 0 900 300" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="k8hwT k8hwD" style="width:100%;min-width:600px;height:auto;font-family:Inter,system-ui,sans-serif">
<title id="k8hwT">How cluster autoscaling sets the Datadog host count</title>
<desc id="k8hwD">Node count over a 30-day month. The cluster runs 40 nodes for 27 days and scales to 60 nodes for 3 days during a launch. Because the scale-up lasts longer than about 7 hours, Datadog bills 60 hosts for the whole month.</desc>
<line x1="70" y1="250" x2="870" y2="250" stroke="#9ca3af"/>
<line x1="70" y1="40" x2="70" y2="250" stroke="#9ca3af"/>
<text x="60" y="254" font-size="12" fill="#6b7280" text-anchor="end">0</text>
<text x="60" y="144" font-size="12" fill="#6b7280" text-anchor="end">40</text>
<text x="60" y="89" font-size="12" fill="#6b7280" text-anchor="end">60</text>
<text x="470" y="285" font-size="13" fill="#6b7280" text-anchor="middle">Days in the month</text>
<rect x="603" y="85" width="80" height="165" fill="#185fa5" opacity=".12"/>
<path d="M70,140 L603,140 L603,85 L683,85 L683,140 L870,140" fill="none" stroke="#185fa5" stroke-width="3"/>
<line x1="70" y1="85" x2="870" y2="85" stroke="#c14920" stroke-width="2" stroke-dasharray="7 6"/>
<text x="865" y="75" font-size="13" font-weight="600" fill="#c14920" text-anchor="end">Billed: 60 hosts all month</text>
<text x="643" y="170" font-size="12" fill="#374151" text-anchor="middle">Launch:</text>
<text x="643" y="186" font-size="12" fill="#374151" text-anchor="middle">72 hours</text>
<text x="643" y="202" font-size="12" fill="#374151" text-anchor="middle">at 60 nodes</text>
<text x="300" y="165" font-size="12" fill="#374151" text-anchor="middle">Usual size: 40 nodes</text>
</svg>
<p class="text-sm text-gray-500 mt-2 text-center">Figure: A three-day scale-up from 40 to 60 nodes sets the Datadog host count for the whole month. The same peak applies to APM hosts.</p>
</div>

Autoscaling that never scales down is even more expensive: if the cluster autoscaler's scale-down is disabled or blocked by pods without disruption budgets, the peak becomes the new baseline. Check both how high the cluster went and how long it stayed there.

### 3. Container overage on dense Kubernetes nodes

Infrastructure Pro includes 5 containers per host and Enterprise includes 10. Extra containers are metered every five minutes and billed per container hour. (Source: Datadog docs, Container Billing, November 2026)

A production node commonly runs application containers, sidecars such as service mesh proxies, and DaemonSet pods for logging, networking, storage, and security, so 20 or more containers per node is normal. Everything above the allotment is billed. The chart shows the monthly overage for a 40-node cluster on Infrastructure Pro at different pod densities.

<div data-benchmark-chart class="not-prose my-8" data-config='{"title":"Monthly Datadog container overage for a 40-node cluster","subtitle":"Infrastructure Pro: 5 containers included per host, $0.002 per extra container hour, 720 hours","caption":"Figure: Container overage grows with pod density, not cluster size. Source: Datadog pricing list and Container Billing docs, November 2026.","bars":[{"label":"10 containers per node","value":288,"display":"$288/month","color":"#c14920"},{"label":"20 containers per node","value":864,"display":"$864/month","color":"#c14920"},{"label":"30 containers per node","value":1440,"display":"$1,440/month","color":"#c14920"},{"label":"OpenObserve, any density","value":0,"display":"$0","color":"#185fa5"}],"callout":{"text":"Sidecars and DaemonSets drive the overage","note":"Every container above 5 per node adds about $1.44 a month"}}'></div>

### 4. Custom metrics multiplied by Kubernetes labels

Datadog counts a custom metric as each unique combination of metric name and tag values, including the host tag, and metrics collected through OpenMetrics and Prometheus checks can be custom metrics. (Source: Datadog docs, Custom Metrics, November 2026)

Kubernetes labels become tags, so one Prometheus counter labelled with `pod`, `status_code`, and `method` becomes thousands of custom metrics:

<div class="not-prose my-8" style="overflow-x:auto">
<svg viewBox="0 0 900 190" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="cardT cardD" style="width:100%;min-width:600px;height:auto;font-family:Inter,system-ui,sans-serif">
<title id="cardT">How Kubernetes labels multiply Datadog custom metrics</title>
<desc id="cardD">One counter, http_requests_total, with 400 pod values, 5 status codes, and 4 methods produces 8,000 unique tag combinations, each billed as a custom metric.</desc>
<g font-size="15" font-weight="600" fill="#1f2937" text-anchor="middle">
<rect x="10" y="50" width="190" height="80" rx="10" fill="#ede9fe" stroke="#7c3aed"/>
<text x="105" y="85">1 counter</text>
<text x="105" y="108" font-size="12" font-weight="400" fill="#4b5563">http_requests_total</text>
<text x="222" y="98" font-size="22" fill="#6b7280">×</text>
<rect x="244" y="50" width="140" height="80" rx="10" fill="#dbeafe" stroke="#2563eb"/>
<text x="314" y="85">400 pods</text>
<text x="314" y="108" font-size="12" font-weight="400" fill="#4b5563">label: pod</text>
<text x="406" y="98" font-size="22" fill="#6b7280">×</text>
<rect x="428" y="50" width="140" height="80" rx="10" fill="#dbeafe" stroke="#2563eb"/>
<text x="498" y="85">5 codes</text>
<text x="498" y="108" font-size="12" font-weight="400" fill="#4b5563">label: status_code</text>
<text x="590" y="98" font-size="22" fill="#6b7280">×</text>
<rect x="612" y="50" width="120" height="80" rx="10" fill="#dbeafe" stroke="#2563eb"/>
<text x="672" y="85">4 methods</text>
<text x="672" y="108" font-size="12" font-weight="400" fill="#4b5563">label: method</text>
<text x="754" y="98" font-size="22" fill="#6b7280">=</text>
<rect x="776" y="50" width="114" height="80" rx="10" fill="#fee2e2" stroke="#c14920"/>
<text x="833" y="85" fill="#c14920">8,000</text>
<text x="833" y="108" font-size="12" font-weight="400" fill="#4b5563">custom metrics</text>
</g>
<text x="450" y="170" font-size="13" fill="#6b7280" text-anchor="middle">Every deploy replaces pod names, so new combinations appear on each rollout.</text>
</svg>
</div>

Pod names change on every deployment and restart, and Datadog counts distinct custom metrics each hour, so rollouts add even more. Dropping the `pod` label from that counter, or aggregating it away before the metric leaves the cluster, takes it from 8,000 combinations to 20. Our guide to [high cardinality in observability](/blog/high-cardinality/) explains why labels like `pod` and `container_id` cause this, and [Prometheus data cardinality](/blog/prometheus-data-cardinality/) covers how to find them.

### 5. Container logs and Datadog log indexing

Every container writes stdout and stderr, and collecting container logs sends every line to Datadog. Ingesting logs costs $0.10 per GB, but indexing them so they're searchable costs $1.70 per million events with 15-day retention or $2.50 with 30-day retention. (Source: Datadog pricing list, November 2026)

At about a million events per GB, indexing costs 17 to 25 times as much as ingestion. On Kubernetes, the volume comes from places that rarely matter during an incident: verbose application logs at INFO or DEBUG, ingress controller access logs for every health check, init containers, and crash-looping pods that log the same stack trace every few seconds. For ways to keep cluster log volume in check, read [monitoring Kubernetes logs at scale](/blog/monitor-kubernetes-logs-at-scale/).

### 6. APM hosts on every traced Kubernetes node

A host counts as an APM host when an application running on it submits traces. (Source: Datadog docs, Pricing, November 2026)

In Kubernetes, the scheduler spreads traced pods across nodes, so most nodes become APM hosts at $31 per month each, even if only one small traced pod runs on a node. Autoscaling raises the APM host count the same way it raises infrastructure hosts, so the launch peak in driver 2 is billed twice: once at $15 and once at $31 per node.

### 7. Short-lived pods, jobs, and preview environments

CronJobs, batch jobs, CI runners, and preview environments start and stop all day. Containers are metered every five minutes, and each new pod brings new tag values, so short-lived workloads add container hours and custom metrics without adding lasting capacity.

In job-heavy clusters, container and custom metric usage can run well above what the steady-state size suggests. A CI cluster that runs a few hundred short jobs an hour can show more distinct pods in a day than a production cluster shows in a month.

## Example: a Datadog bill for one Kubernetes cluster

To see how the drivers add up, here's a worked month for a cluster that runs 40 nodes most of the month and scales to 60 for three days during a product launch. All nodes run the Agent and traced workloads.

| Line item | Assumption | Datadog (annual list prices) |
|---|---|---|
| Infrastructure hosts | 72 hours at 60 nodes sets the high-water mark | 60 × $15 = $900 |
| APM hosts | Same peak | 60 × $31 = $1,860 |
| Containers | 1,000 running on average, 200 included (40 nodes × 5) | 800 × 720 hours × $0.002 = $1,152 |
| Custom metrics | One Prometheus counter: 400 pods × 5 status codes × 4 methods = 8,000; 4,000 included | 40 × $5 = $200 |
| Logs, searchable for 30 days | 150 GB per day, 4,500 GB per month, about 1 KB per event | $450 ingest + $11,250 indexing = $11,700 |
| **Total** | | **$15,812** |

<div data-benchmark-chart class="not-prose my-8" data-config='{"title":"Where the $15,812 Kubernetes bill goes","subtitle":"40-node cluster scaling to 60 for 3 days; Datadog annual list prices","caption":"Figure: Monthly Datadog cost by line item for the example cluster. Source: Datadog pricing list and billing docs, November 2026.","bars":[{"label":"Logs (ingest + 30-day index)","value":11700,"display":"$11,700","color":"#c14920"},{"label":"APM hosts","value":1860,"display":"$1,860","color":"#c14920"},{"label":"Container overage","value":1152,"display":"$1,152","color":"#c14920"},{"label":"Infrastructure hosts","value":900,"display":"$900","color":"#c14920"},{"label":"Custom metrics","value":200,"display":"$200","color":"#c14920"}],"callout":{"text":"Logs are 74% of the bill","note":"Almost all of it is indexing: $11,250 of $11,700"}}'></div>

Two things stand out:

- **The three-day launch cost $920** in host and APM fees alone. At 40 nodes, those lines would be $600 and $1,240.
- **Logs are three-quarters of the bill**, almost all of it indexing.

### What would the same Kubernetes cluster cost on OpenObserve?

On OpenObserve Cloud, the same month costs $2,250 for the 4,500 GB of logs at $0.50 per GB on an annual contract, or $3,150 at the $0.70 per GB pay-as-you-go rate, with 30 days of searchable retention included and $0.01 per GB queried. There's nothing for nodes, APM hosts, containers, or custom metrics; metrics and traces are billed at the same per-GB rate, so add that volume to compare your own cluster.

<div data-benchmark-chart class="not-prose my-8" data-config='{"title":"Monthly cost for the example Kubernetes cluster","subtitle":"Datadog annual list prices vs OpenObserve Cloud, before metric and trace volume on OpenObserve","caption":"Figure: Like-for-like monthly cost for the example cluster. OpenObserve Cloud has no per-node, per-container, or per-custom-metric fees.","bars":[{"label":"Datadog","value":15812,"display":"$15,812","color":"#c14920"},{"label":"OpenObserve Cloud - annual","value":2250,"display":"$2,250","color":"#185fa5"},{"label":"OpenObserve Cloud - pay as you go","value":3150,"display":"$3,150","color":"#185fa5"}],"callout":{"text":"About 86% lower on an annual contract","note":"The launch week costs nothing extra on OpenObserve"}}'></div>

For a line-by-line comparison on your own invoice, upload it to the [OpenObserve Bill Analyzer](/datadog-pricing-comparison/).

## How to spot these cost drivers in your Datadog bill

Datadog publishes near-real-time estimated usage metrics that you can chart and alert on, including `datadog.estimated_usage.hosts`, `datadog.estimated_usage.logs.ingested_bytes`, and `datadog.estimated_usage.apm.ingested_spans`. (Source: Datadog docs, Estimated Usage Metrics, November 2026) On their own they tell you that usage changed. Lined up against your cluster's behaviour, they tell you which driver changed it.

### How to spot autoscaling-driven host spikes

Overlay `datadog.estimated_usage.hosts` with your cluster autoscaler's node count. Host spikes that line up with scale-up events point to driver 2. Check how long each scale-up lasted: anything longer than about 7 hours in the month sets the billed host count. Also check whether the node count returned to its baseline afterwards; a scale-down that never happens turns a one-off peak into a permanent cost.

### How to spot container overage on dense nodes

Divide the running container count by the node count. Anything well above 5 (Pro) or 10 (Enterprise) per node points to driver 3. Count DaemonSets and sidecars per node: a service mesh proxy, a log agent, a node exporter, and a CNI pod can use the whole allotment before any application container starts.

### How to spot custom metrics driven by pod labels

Look for custom metric jumps right after deployments, which point to drivers 4 and 7. In the metric summary, sort metrics by the number of distinct tag values and look for tags such as `pod`, `pod_name`, `container_id`, or `replicaset`. One or two metrics with these tags usually account for most of the count.

### How to spot noisy container logs

Compare `datadog.estimated_usage.logs.ingested_bytes` with pod restarts. Log ingestion that tracks restarts points to crash loops, and steady high volume from a single namespace points to a verbose service under driver 5. Grouping log volume by `kube_namespace` and `kube_deployment` over a week usually shows that a handful of workloads produce most of the bytes.

## How to reduce Datadog costs in Kubernetes

Once you know which driver is moving the bill, each one has a direct counter-measure inside Datadog. They all trade some visibility for cost, which is the limit of optimizing on a per-host, per-container, per-metric model. Our [Datadog cost optimization guide](/blog/datadog-cost-optimization/) covers all 15 tactics in detail; these are the ones that matter most on Kubernetes.

### Use fewer, larger nodes to cut Datadog host fees

Because every node is a host, consolidating onto fewer, larger nodes lowers infrastructure and APM fees for the same capacity. Make sure autoscaler scale-down works and that launches, load tests, and batch windows don't hold extra nodes for longer than a few hours. [Kubernetes monitoring best practices](/blog/kubernetes-monitoring-best-practices/) covers what to watch on a cluster regardless of vendor.

### Exclude containers and namespaces you don't need to monitor

Use `DD_CONTAINER_EXCLUDE` to stop the Agent from collecting logs and metrics from sidecars, jobs, and system namespaces. (Source: Datadog docs, Container Discovery Management, November 2026) Start with pause and init containers, CI runners, and short-lived CronJobs.

### Drop pod-level labels from custom metrics

Remove `pod` and `container_id` labels from Prometheus and OpenMetrics checks before the metric is sent, or use Metrics without Limits to index only the tags you query. Keep pod-level detail in logs and traces, where it doesn't multiply a billing count.

### Exclude noisy Kubernetes logs from Datadog indexes

Add exclusion filters for health checks, readiness probes, and DEBUG lines, and turn per-request access logs into log-based metrics. Filtering at the collector is even better, because excluded logs still cost $0.10 per GB to ingest; see [filtering logs at source in the OpenTelemetry Collector](/blog/filter-logs-at-source-in-otel-collector/).

## How OpenObserve prices Kubernetes observability

OpenObserve is ingest-based: you pay for the data you send and query, with no per-node, per-container, per-APM-host, or per-custom-metric fees. Autoscaling, pod density, labels, and job churn don't change the bill; only data volume does. That turns every driver above from a billing problem into a plain data volume question.

### How DevZero cut Kubernetes observability costs by 4x

DevZero, which runs Kubernetes and inference infrastructure, moved from Datadog to OpenObserve in under an hour without code changes and cut observability costs by 4x. It also replaced 15 to 20% month-over-month swings in its bill with predictable pricing. Read the [DevZero customer story](/customer-stories/devzero-customer-story/).

### Monitor Kubernetes clusters in OpenObserve

For Kubernetes, the [OpenObserve collector](https://openobserve.ai/docs/integration/system/k8s/) sends kube-state-metrics, kubelet stats, events, logs, and traces from your cluster, and **Infra › Kubernetes** gives you a cluster overview, resource lists, a cluster map, and each object's logs and YAML.

![OpenObserve Kubernetes cluster overview with ready nodes and pods, warnings, firing alerts, cluster CPU against requests and limits, memory and pod usage, and the pods that need attention](/assets/blog/kubernetes-monitoring-best-practices/kubernetes-cluster-overview.png)

You can also import prebuilt Kubernetes dashboards, as described in our guide to [importing prebuilt Kubernetes dashboards](/blog/import-prebuilt-k8s-dashboards/).

![OpenObserve prebuilt Kubernetes Namespace (Pods) dashboard showing CPU and memory utilisation per pod in the kube-system namespace](/assets/blog/datadog-kubernetes-cost/image1.png)

### Find the noisiest pods with SQL

Because Kubernetes logs in OpenObserve are queryable with SQL, finding the workloads that produce the most log data is a single query, grouped by namespace and pod and ordered by bytes. That's the same question that driver 5 asks, answered without paying to index every line first.

![OpenObserve SQL editor showing the top-noisy-pods query and ranked results by log bytes](/assets/blog/monitor-kubernetes-logs-at-scale/query-noisy-pods.png)

You can turn that query into a dashboard that tracks log volume per minute, severity, top namespaces, and top pods, so a noisy rollout shows up the same hour.

![OpenObserve dashboard with four panels showing log volume per minute, severity breakdown, top namespaces, and top pods by bytes](/assets/blog/monitor-kubernetes-logs-at-scale/pipeline-health.png)

### Set retention per Kubernetes log stream

Retention is set per stream, so you can keep production application logs for 30 days or longer and short-lived CI or preview environment logs for a few days, without a separate archive tier or rehydration. Data is stored as compressed Parquet on object storage, which keeps longer retention affordable.

![OpenObserve stream settings panel for k8s_logs showing the Data Retention (days) field](/assets/blog/monitor-kubernetes-logs-at-scale/stream-retention-settings.png)

### What else is included in OpenObserve?

The full platform, with no per-host or per-metric pricing anywhere:

- **Telemetry:** logs, metrics, and traces with a service graph and service catalog, plus continuous profiles.
- **Frontend monitoring:** real user monitoring (RUM), session replay, and error tracking.
- **Synthetic monitoring:** scheduled browser and protocol checks.
- **AI:** AI Assistant, SRE Agent for AI root cause analysis, an MCP server, LLM observability and evaluations, anomaly detection, log patterns, and insights.
- **Alerting and reliability:** scheduled, real-time, composite, and anomaly alerts, incident management, and SLOs with error budgets and burn rates.
- **Dashboards and reports:** real-time dashboards and scheduled PDF, PNG, or CSV reports.
- **Data processing:** pipelines, VRL functions, enrichment tables, and metrics downsampling.
- **Storage and cost:** Parquet on object storage, Bring Your Own Bucket on Cloud, extended retention, and ingest-based pricing with unlimited users.
- **Security and governance:** SSO, RBAC, multi-tenancy, sensitive data redaction, audit trail, cipher keys, and federated search.
- **Compliance:** SOC 2 Type II, ISO 27001, and GDPR via the EU-Central 1 (Frankfurt) region.
- **Open standards:** OpenTelemetry-native ingestion, PromQL and SQL querying, and open source under AGPL-3.0.

## Get started with OpenObserve

Moving a Kubernetes cluster's telemetry doesn't require re-instrumenting your workloads, so you can test OpenObserve alongside Datadog before you switch.

- **Try it:** sign up for [OpenObserve Cloud](https://cloud.openobserve.ai) with a 14-day free trial and point your cluster's collector at it.
- **Plan the move:** the [Datadog to OpenObserve migration guide](https://openobserve.ai/docs/migration/migrate-from-datadog-to-openobserve/) keeps the Datadog Agent in place and changes only where data goes.
- **Estimate your savings:** upload your invoice to the [Bill Analyzer](/datadog-pricing-comparison/).
- **Related reading:** [Kubernetes monitoring with OpenTelemetry and Prometheus](/blog/kubernetes-monitoring-with-opentelemetry-prometheus/), [open-source Kubernetes monitoring tools](/blog/open-source-kubernetes-monitoring-tools/), and [top Kubernetes monitoring tools](/blog/top-10-k8s-monitoring-tools/).
