Difference between revisions of "/var/lib/prometheus/"
Jump to navigation
Jump to search
(3 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
− | --storage.tsdb.path | + | [[--storage.tsdb.path]] |
− | + | ||
− | + | ||
− | + | {{prometheus_storage_options}} | |
== Related == | == Related == | ||
− | + | * <code>[[TSDB]]</code> | |
− | + | * <code>[[/var/log/sysstat/]]</code> | |
− | |||
* https://prometheus.io/docs/prometheus/latest/storage/#operational-aspects | * https://prometheus.io/docs/prometheus/latest/storage/#operational-aspects | ||
Latest revision as of 08:18, 17 February 2023
/var/lib/prometheus/ /var/lib/prometheus/metrics2/ /var/lib/prometheus/node-exporter/
--storage.tsdb.path
# --storage.tsdb.path="/var/lib/prometheus/metrics2/" # 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.
Related[edit]
See also[edit]
- Prometheus: Prometheus installation,
9090
, storage, Prometheus exporters: Node exporter9100
, Blackbox exporter, Prometheus alertmanager (changelog), Prometheus versions, Prometheus Node exporter releases,promtool
,amtool, tsdb
,/etc/default/prometheus, /etc/prometheus/prometheus.yml, journalctl -u prometheus
,/etc/default/prometheus-node-exporter
, PromQL,alert:
, Prometheus Operator, Thanos, VictoriaMetrics, PushGateway, Prometheus API,values.yml
, Amazon Managed Service for Prometheus
Advertising: