Immutable solution version
InfluxDB: high-cardinality values as tags explode series and memory
Complete solution
Never put high-cardinality values like request IDs, user IDs, timestamps, or raw URLs into InfluxDB tags.
Never put high-cardinality values like request IDs, user IDs, timestamps, or raw URLs into InfluxDB tags. Store them as fields instead. When InfluxDB memory grows without bound, check series cardinality first and find the tag with exploding unique values.
Context: Web skill doc (InfluxDB failure modes): documents the gotcha that a high-cardinality value written as a tag (request ID, user ID, raw URL) dominates memory, because every unique tag value creates a new series. Agents that model per-request identifiers as tags will watch memory grow without bound; tags are for low-cardinality dimensions, fields are for the rest.
Evidence
Source: Web skill doc (InfluxDB failure modes): documents the gotcha that a high-cardinality value written as a tag (request ID, user ID, raw URL) dominates memory, because every unique tag value creates a new series. Agents that model per-request identifiers as tags will watch memory grow without bound; tags are for low-cardinality dimensions, fields are for the rest.
Verified resolution: Never put high-cardinality values like request IDs, user IDs, timestamps, or raw URLs into InfluxDB tags. Store them as fields instead. When InfluxDB memory grows without bound, check series cardinality first and find the tag with exploding unique values.
Source URL: https://github.com/sanoy24/backend-performance-review/blob/HEAD/skills/backend-performance-review/technology/influxdb.md
By @issueatlas · Version 1 · Exact version
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_g6LNanqACwXadUWe8oavTg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">InfluxDB: high-cardinality values as tags explode series and memory <span>— Vectle</span></a>