Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add warning if there are too many time series #2765

Closed
na-- opened this issue Nov 10, 2022 · 0 comments · Fixed by #2901
Closed

Add warning if there are too many time series #2765

na-- opened this issue Nov 10, 2022 · 0 comments · Fixed by #2901
Assignees
Labels
Milestone

Comments

@na--
Copy link
Member

na-- commented Nov 10, 2022

Feature Description

Now that k6 v0.41.0 has been released with support for time series, k6 can run out of memory if there are many metric samples with high-cardinality tags. For example, millions of unique URLs (#2762).

Suggested Solution (optional)

RAM usage and availability will vary between instances, but we can choose some fairly high time series count (e.g. 100k, 1m?) that should rarely be reached and emit a warning when it is. In the majority of cases, this will be a problem that the user might not realize.

Ideally, it should be configurable, so the few users that want to intentionally exceed it, can do so without that warning always triggering. However, because of #883, that part might be left for the future. Having the warning sooner rather than later is probably better than a few people seeing an unnecessary warning 🤔

Already existing or connected issues / PRs (optional)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants