Difference between revisions of "Template:Prometheus storage options"
Jump to navigation
Jump to search
(Created page with " # --storage.tsdb.path="/var/lib/prometheus/metrics2/" # Base path for metrics storage. # --storage.tsdb.min-block-duration=2h #...") |
|||
Line 1: | Line 1: | ||
− | # [[--storage.tsdb.path]]="/var/lib/prometheus/metrics2/" | + | # [[--storage.tsdb.path]]="[[/var/lib/prometheus/]]metrics2/" |
# Base path for metrics storage. | # Base path for metrics storage. | ||
# [[--storage.tsdb.min-block-duration]]=2h | # [[--storage.tsdb.min-block-duration]]=2h |
Revision as of 08:16, 17 February 2023
# --storage.tsdb.path="var/lib/prometheusmetrics2/" # Base path for metrics storage. # --storage.tsdb.min-block-duration=2h # Minimum duration of a data block before being # persisted. # --storage.tsdb.max-block-duration=<duration> # Maximum duration compacted blocks may span. # (Defaults to 10% of the retention period) # --storage.tsdb.retention=15d # How long to retain samples in the storage. # --storage.tsdb.no-lockfile # Do not create lockfile in data directory.
Advertising: