我已将保留策略设置为 10s:1d 1m:7d 15m:1y。但是当我尝试获取一个月的数据时, Graphite 上没有显示任何内容。仅显示最近 24 小时的数据。
我尝试将保留策略更改为 1m:31d,15m:1y,1h:5y 并使用 --xFilesFactor=0.0 运行 Whisper-resize.py 但没有运气。我还重新启动了carbon-cache.py。
此外,在此更改之后,我使用 Whisper-info 检查了 count.wsd 文件以了解较旧的日期,但它显示“无”。使用whisper-dump它显示旧日期为0。
我错过了什么吗? 谢谢
最佳答案
这是由于/opt/graphite/conf/storage-aggregation.conf 不存在。我查看了碳记录,它显示/
opt/graphite/conf/storage-aggregation.conf not found, ignoring
我猜旧数据现在不可用。 :(
启用此功能后,数据在 Graphite 中保留超过 24 小时。经过更多挖掘后发现,聚合所需的数据点更少。所以我更改了 xFilesFactor=0.0 并再次调整了耳语文件的大小..
现在它也保留旧的数据点。
关于graphite - Whisper 不显示旧数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34281995/