vectordotdev / vectordotdev/vector

Save tag_cardinality_limit cache to disk before shutdown

Open
#2,031 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

domain: performance domain: reliability have: nice meta: idea needs: approval transform: tag_cardinality_limit
Dominant language
Rust
Stars
22.6k
Forks
2.3k
Avg merge
1d 7h
Merged PRs (30d)
146

Description

Currently, the tag_cardinality_limit transform's cache is held in memory. This means that the cache is reset between Vector restarts. For most cases, this should be sufficient, since this transform is designed as a protection mechanism for long-lived Vector processes. But I could see this being a problem for very large setups where data is continually violating the cardinality limit.

I'm opening this issue for feedback from users. If you find this valuable please comment and 👍 .

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the tag_cardinality_limit transform and its in-memory cache lifecycle, especially how shutdown is handled. The issue is a request for user feedback rather than an implementation plan; done would require an agreed design for saving and restoring the cache across Vector restarts.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.