普罗米修斯 storage.tsdb.retention vs storage.local.retention?

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

试图让我的保留期大约为 30 天,并查看配置,我看到 2 个不同的标志似乎做同样的事情(大概)。

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

--storage.tsdb.retention 用于普罗米修斯 2.x,-storage.local.retention 用于普罗米修斯 1.x.