【发布时间】:2020-12-23 09:12:04
【问题描述】:
我们正在使用 prometheus 运算符,现在我们想将数据存储在磁盘上, 有一个博客对此进行了解释,但不确定来自查询的数字/大小响应
https://www.robustperception.io/how-much-disk-space-do-prometheus-blocks-use
我在 Prometheus 查询 UI 中使用
速率(prometheus_tsdb_compaction_chunk_size_bytes_sum[24h])/速率(prometheus_tsdb_compaction_chunk_samples_sum[24h])
得到值
endpoint="web",instance="100.96.10.7:9090",job="per-prometheus",namespace="monitoring",pod="per-prometheus-1",service="per-prometheus"}
值0.9017483000151686
{endpoint="web",instance="100.96.7.10:9090",job="per-prometheus",namespace="monitoring",pod="per-prometheus-0",service="per-prometheus"}
值 = 0.880271256152723
我的问题是这个数字是多少,它的大小以 GB 为单位吗?
是0.88027125615272 + 0.9017483000151686 = 1.8 GB吗?
【问题讨论】:
标签: prometheus prometheus-operator