-
Notifications
You must be signed in to change notification settings - Fork 337
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
[proposal] build tsdb framework and interface for refactor of metric_cache
in koordlet
#586
Comments
/cc @LambdaHJ |
将指标使用tsdb存储,一些业务字段需要以label的方式存储到tsdb,如下:
这就要求查询metrics时返回数据要包含label。 |
可以考虑用prometheus的tsdb库 |
影响模块:metriccache |
metric cache
module in koordlet
with tsdb storage
metric cache
module in koordlet
with tsdb storagemetric cache
module in koordlet
with tsdb-type storage
metric cache
module in koordlet
with tsdb-type storagemetric_cache
in koordlet
Resource Consumption Comparation: before & after pod & container throttled ratio saved to tsdb. We deploy koordlet v1.2 and latest version with tsdb refactor on the same node and start 60 pods on it for data collecting. In v1.2, only latest 30min metrics are saved in sqlite, in latest version we set the time range is extended to 24h. so we set the default time range as 12h now, in future, we should consider save corse-grained metrics for earlier metrics. |
What is your proposal:
see #1241 for full description.
Why is this needed:
Is there a suggested solution, if so, please add it:
The text was updated successfully, but these errors were encountered: