Prometheus 计算普罗米修斯体积大小以存储度量
我们使用的是普罗米修斯操作员,现在我们想把数据存储在磁盘上, 有一个博客对此进行了解释,但不确定来自查询的数字/大小响应 我在Prometheus查询UI中使用 速率(普罗米修斯tsdb压缩块大小字节和[24小时])/速率(普罗米修斯tsdb压缩块样本和[24小时]) 得到了价值Prometheus 计算普罗米修斯体积大小以存储度量,prometheus,prometheus-operator,Prometheus,Prometheus Operator,我们使用的是普罗米修斯操作员,现在我们想把数据存储在磁盘上, 有一个博客对此进行了解释,但不确定来自查询的数字/大小响应 我在Prometheus查询UI中使用 速率(普罗米修斯tsdb压缩块大小字节和[24小时])/速率(普罗米修斯tsdb压缩块样本和[24小时]) 得到了价值 endpoint="web",instance="100.96.10.7:9090",job="per-prometheus",namespace=&quo
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.8GB
?这个数字是每个样本的字节数。以数字0.9为例,这意味着如果你每秒摄入1000个样本,那么你每天摄入的样本数将是.9*1000*86400=~75MB
。非常感谢。我如何知道我们每秒运行多少样本?如果我检查头部,我们使用的是开箱即用的,我得到了以下头部块798243头部时间序列485655 WAL腐蚀0 Goroutines 323 GOMAXPROCS 8
关于样本数量,您能提供建议吗?这是我唯一想念的东西