Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Prometheus 计算普罗米修斯体积大小以存储度量_Prometheus_Prometheus Operator - Fatal编程技术网

Prometheus 计算普罗米修斯体积大小以存储度量

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

我们使用的是普罗米修斯操作员,现在我们想把数据存储在磁盘上, 有一个博客对此进行了解释,但不确定来自查询的数字/大小响应

我在Prometheus查询UI中使用

速率(普罗米修斯tsdb压缩块大小字节和[24小时])/速率(普罗米修斯tsdb压缩块样本和[24小时])

得到了价值

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
关于样本数量,您能提供建议吗?这是我唯一想念的东西