> For the complete documentation index, see [llms.txt](https://docs.controltheory.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.controltheory.com/controltheory-documentation/dstl8-docs/metrics/series-limits.md). Agents can also search and read this documentation through its [MCP server](https://docs.controltheory.com/~gitbook/mcp).

# Series Limits

How many metric series each agent keeps apart, what happens past that, where to see it, and how to bring a source back under it

Every distinct combination of a metric name and its label values is one **series**. `http_requests_total{route="/cart", status="200"}` and `http_requests_total{route="/cart", status="500"}` are two series of one metric. Dstl8 learns each series' usual behavior, so it gives every agent a **series budget**: the number of series it keeps apart.

Most sources never come near it. The ones that do almost always carry a label whose value changes with every request or user, which turns one metric into thousands of series that each say nothing on their own.

## The limits

| Limit              | Default   | Applies to                                          |
| ------------------ | --------- | --------------------------------------------------- |
| Series per agent   | 200,000   | All the series one agent sends, across every metric |
| Series per metric  | 5,000     | The series of one metric name from one agent        |
| Label value length | 256 bytes | Each label value                                    |

* **Per agent, not per source.** A Kubernetes source runs one agent on each node, so a 10-node cluster has 10 budgets of 200,000. A Docker source has one agent per host.
* **Your plan can set a different budget.** **Organization Settings** → **General** shows it as **Metric series per agent** (**Standard** means the defaults above). To raise it, contact support; there is no setting for it in the portal.
* **Long label values are shortened, not dropped.** A value over 256 bytes is shortened in a way that keeps it distinct, so two long values that start the same stay two series.

## What happens past a budget

Nothing is refused and the source keeps working. A **new** series that arrives once an agent is at a budget is **folded**: its points are counted together with the other folded series of the same metric, in one overflow series labelled `__overflow__="true"`.

* **Series that already exist are not affected.** Only series that start after the budget is reached are folded.
* **Volume is kept, identity is lost.** Totals by service, namespace or pod still include the folded points, but you can't tell the folded series apart, and Dstl8 doesn't analyze them one by one: no usual range, anomaly or forecast of their own.
* **A folded counter is volume only.** It isn't read as a rate.
* **It recovers on its own.** When old series stop reporting and free their place, a new series gets its own identity again on its next point. Its earlier history stays in the overflow series.

You may see the overflow series in the [Metrics explorer](https://docs.controltheory.com/controltheory-documentation/dstl8-docs/metrics/explore.md) or in the [MCP tools](https://docs.controltheory.com/controltheory-documentation/dstl8-docs/metrics/mcp-tools.md) (`describe_metric` lists the `__overflow__` label when a metric has one). It's the sum of everything folded, not a real member of your fleet.

## Where you see it: the Metric series card

Open a source from **Sources**. A source that sends metrics has a **Metric series** card. It refreshes every minute.

| Badge                       | Means                                                                                                                  |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| **Within budget**           | Reporting, and nothing was folded in the last hour                                                                     |
| **Folded in the last hour** | At least one new series was folded. The badge says how long ago the latest fold was, and stays up for an hour after it |
| **No live series**          | The source reported in the last hour, but not in the last few minutes                                                  |

A source that has sent no metrics in the last hour has no card.

The card also shows:

* **Live series** and how many agents they come from, against the budget per agent and per metric. The bar turns amber only when something was actually folded: one busy agent can fold while the source's total still looks low.
* **The last 60 minutes:** new series, series folded into an overflow series, points dropped because they couldn't be used, and **duplicates skipped** (see below).
* **Folded series by metric:** the metrics with the most folded series, most first. Start here when fixing it.

## How to fix it

Folding is nearly always one or two metrics with a label that has too many values. Open **Folded series by metric** to find them, then remove or rewrite that label where the metric is produced (in your code, your OpenTelemetry Collector, or your Prometheus relabeling).

Labels that usually cause it:

| Label holds                             | Instead                                                |
| --------------------------------------- | ------------------------------------------------------ |
| User, customer, session or tenant IDs   | Drop it, or keep a coarse group (plan tier, region)    |
| Request, trace or correlation IDs       | Drop it. Put IDs on logs and traces, where they belong |
| Raw URL paths (`/orders/81723`)         | Use the route template (`/orders/{id}`)                |
| Timestamps, dates, durations            | Drop it, or bucket it                                  |
| Error messages or SQL text              | Use an error code or class                             |
| Pod IPs, container IDs, random suffixes | Drop it; Dstl8 already knows the pod and container     |

With an OpenTelemetry Collector, a `transform` or `attributes` processor in the metrics pipeline can delete a label before export. With Prometheus Remote Write, use `write_relabel_configs` with a `labeldrop` action.

{% hint style="info" %}
A label you drop in the sender only stops new series. Series already folded stay in the overflow series for their history; the card clears an hour after the last fold.
{% endhint %}

## When the same metric arrives twice

On Kubernetes, one pod's metric can reach the agent by more than one path: pushed over OTLP, sent by your Prometheus with Remote Write, and scraped by the agent. Dstl8 stores it once, from the best path, in this order:

1. OTLP
2. Remote Write
3. Scrape

The copies from the other paths are counted on the card as **duplicates skipped**. Nothing is lost: the metric is stored from the path that won, and a metric only one path sends is always kept. This is decided per pod and per metric name, so it needs to know which pod a series came from; series without a pod are never skipped. It needs agent v1.4.4 or later.

A high **duplicates skipped** count is not something you need to fix; it only means two paths are sending the same metric.

## Tips

* **Check the card after adding a new exporter or instrumentation library.** A new library is the most common way a high-variety label sneaks in.
* **Look at the Series column.** The **All metrics** list on the [Metrics page](https://docs.controltheory.com/controltheory-documentation/dstl8-docs/metrics/explore.md) shows how many series each metric has. A metric with thousands of series and only a handful of services is worth a look.
* **Don't split a metric to dodge the per-metric budget.** Renaming one metric into many keeps the same variety and moves the problem to the per-agent budget.
* **Use the same `service.name` everywhere.** It doesn't change the series count, but it keeps a service's metrics together in one place.

## Related

* [Collecting metrics](https://docs.controltheory.com/controltheory-documentation/dstl8-docs/metrics/collecting.md): the ways metrics reach Dstl8
* [Explore metrics](https://docs.controltheory.com/controltheory-documentation/dstl8-docs/metrics/explore.md): the Metrics page, including the **All metrics** list


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.controltheory.com/controltheory-documentation/dstl8-docs/metrics/series-limits.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
