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

flow接口报错error when searching for metricIDs in the current indexdb: the number of matching timeseries exceeds 300000 #323

Open
vvhuang-ll opened this issue Dec 2, 2024 · 3 comments
Assignees

Comments

@vvhuang-ll
Copy link
Contributor

flow 接口报错

全量查询数据太大,超过promtheus接口限制,是否可以改为查询namespace级别数据

 "error": "error query flow metrics: 422: error occured during search: cannot fetch query results from vmstorage nodes: cannot perform search on vmstorage 172.19.0.111:8401: cannot execute funcName=\"search_v7\" on vmstorage \"172.19.0.111:8401\": error when searching for tagFilters=[{AccountID=4,ProjectID=0,__name__=\"kubeskoop_tcpretrans_total\"}] on the time range [2024-12-02T07:05:09Z..2024-12-02T07:25:09Z]: error when searching for metricIDs in the current indexdb: the number of matching timeseries exceeds 300000; either narrow down the search or increase -search.max* command-line flag values at vmselect; see https://docs.victoriametrics.com/#resource-usage-limits"

@Lyt99 Lyt99 self-assigned this Dec 3, 2024
@vvhuang-ll
Copy link
Contributor Author

这个问题有人优化一下吗?
使用vm数据库的情况下,多个集群的数据存到一个vm数据库,还要区分cluster查询

@Lyt99
Copy link
Collaborator

Lyt99 commented Dec 13, 2024

这个问题有人优化一下吗? 使用vm数据库的情况下,多个集群的数据存到一个vm数据库,还要区分cluster查询

你好!我这周末会看下如何优化这个问题,尽快来处理下,感谢!

@vvhuang-ll
Copy link
Contributor Author

大佬,请问这个问题开始优化了吗

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

No branches or pull requests

2 participants