Document navigation

Prometheus

Name Description Default Value Valid Value
storage.local.retention The retention period of locally retained monitoring data. Default: 6. Unit: month. Valid values: 1 to 12. 6 [1,12]
storage.local.retention.size The size of locally retained monitoring data. Default: 50 GB. Unit: MB, GB, and TB. 50 GB [0,+∞)
storage.tsdb.min-block-duration The refresh interval of write-ahead logs. Default: 2 hours. Unit: minute, hour, and day. If the size of monitoring data is too large, we recommend that you set this parameter to 30 minutes. 2 hours [1,+∞)
basic.auth.password The Prometheus basic authorization password. password /
basic.auth.username The Prometheus basic authorization username. admin /
enable.basic.auth Specifies whether enable the Prometheus basic authorization. Default: false. false
  • false
  • true
CLI Command Manual | 5.5.30 | ZStack Cloud · ZCF | ZStack Resource Center