Promethues 存储的理解

2020-10-28  本文已影响0人  Secret_Sun

这货怎么出现的就不多做解答了,K8S 标配监控解决方案,还能各种预计算、各种自发现「国内云厂商的自发现令人着急」,简直就是看上去很美,但是能用着用着单点存储问题暴露无遗「这边先停止吐槽」,今天只讨论存储,个人浓缩整理为主。

本地存储

needed_disk_space = retention_time_seconds * ingested_samples_per_second * bytes_per_sample

远端存储

Note that on the read path, Prometheus only fetches raw series data for a set of label selectors and time ranges from the remote end. All PromQL evaluation on the raw data still happens in Prometheus itself. This means that remote read queries have some scalability limit, since all necessary data needs to be loaded into the querying Prometheus server first and then processed there. However, supporting fully distributed evaluation of PromQL was deemed infeasible for the time being. 「读远端与本地合并,优先本地」

TSDB

推荐阅读

容器监控实践

上一篇 下一篇

猜你喜欢

热点阅读