Prometheus storage.tsdb.retention vs storage.local.retention?

问题描述 投票:0回答:1

试图让我的保留期约为30天,看着配置,我看到两个不同的标志,似乎做同样的事情(ish)。

storage.tsdb.retentionstorage.local.retention有什么区别?

prometheus
1个回答
5
投票

--storage.tsdb.retention用于Prometheus 2.x,-storage.local.retention用于Prometheus 1.x.

© www.soinside.com 2019 - 2024. All rights reserved.