Difference between revisions of "~/brew/etc/prometheus.args"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
 +
[[--storage.tsdb.retention]]
  
 
== Default macOS ==
 
== Default macOS ==
  --config.file /Users/user/brew/etc/prometheus.yml
+
  --config.file /Users/user/brew[[/etc/prometheus.yml]]
 
  --web.listen-address=127.0.0.1:[[9090]]
 
  --web.listen-address=127.0.0.1:[[9090]]
 
  [[--storage.tsdb.path]] /Users/user[[/brew/var/prometheus]]
 
  [[--storage.tsdb.path]] /Users/user[[/brew/var/prometheus]]
  
 +
== Storage options ==
 +
{{prometheus_storage_options}}
  
 +
== See also ==
 +
* {{Prometheus.yml}}
  
{{Prometheus}}
+
[[Category:Prometheus]]

Latest revision as of 09:26, 1 April 2024

--storage.tsdb.retention

Default macOS[edit]

--config.file /Users/user/brew/etc/prometheus.yml
--web.listen-address=127.0.0.1:9090
--storage.tsdb.path /Users/user/brew/var/prometheus

Storage options[edit]

 #  --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.

See also[edit]

Advertising: