Prometheus storage.tsdb.retention与storage.local.retention?

nat*_*ate 0 prometheus

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

storage.tsdb.retention和之间有什么区别storage.local.retention

bri*_*zil 5

--storage.tsdb.retention适用于Prometheus 2.x,-storage.local.retention适用于Prometheus1.x。