crane icon indicating copy to clipboard operation
crane copied to clipboard

Prometheus多集群场景下Resource类型预测及推荐支持

Open saikey0379 opened this issue 3 years ago • 0 comments

Describe the feature

Prometheus场景

一级prometheus,指标采集,直接上报的prometheus-server 二级prometheus,指标数据仓库,用于汇总各数据孤岛的指标并持久化

场景一 仅存在一级prometheus,承担数据采集及数据持久化工作

场景二 一级prometheus实现了较长周期的数据持久化,如(historyLength * 2)

场景三 一级prometheus缓存短期数据(如1天),二级prometheus实现较长周期的数据持久化

问题描述: 场景三情况下,各集群独立的prometheus使用内存存储指标,保留时间较短,数据存储于统一的prometheus仓库,增加了cluster标签进行指标区分 crone在进行推荐取值以及tsp模型取值时需要获取较多历史指标,因此craned配置了prometheus仓库地址,但取值失败,无法生成模型

saikey0379 avatar Aug 13 '22 07:08 saikey0379