gpt4 book ai didi

graphite - 碳/ Graphite 对旧数据应用新的保留

转载 作者:行者123 更新时间:2023-12-02 11:09:16 25 4
gpt4 key购买 nike

在设置 Graphite 时,我不小心将保留期设置为 1800 天而不是 180 天。

'10s:6h,10min:1800d'

据我了解,现在更改保留不会清除旧数据。我不确定如何在不破坏我们拥有的所有数据并重新开始的情况下做到这一点。

最佳答案

您必须使用 whisper-resize.py命令。请注意,每个指标都保存在 .wsp 文件中,因此如果您想要更改所有指标的保留策略,则必须使用类似 this gist 的命令。 :

find ./ -type f -name '*.wsp' -exec whisper-resize.py --nobackup {} 10s:6h 10min:180d \;

关于graphite - 碳/ Graphite 对旧数据应用新的保留,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30106553/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com