19 lines
837 B
Plaintext
19 lines
837 B
Plaintext
##############################################################################
|
|
##### File created by Puppet - manual changes will be overwritten #####
|
|
###############################################################################
|
|
[Service]
|
|
|
|
ExecStart=
|
|
ExecStart=/usr/bin/prometheus \
|
|
--config.file=/etc/prometheus/prometheus.yml \
|
|
--web.config.file=/etc/prometheus/web.yml \
|
|
--storage.tsdb.path=/var/lib/prometheus \
|
|
--storage.tsdb.retention.time=<%= @ps_retention_time %> \
|
|
--storage.tsdb.retention.size=<%= @ps_retention_size %> \
|
|
--storage.tsdb.wal-segment-size=<%= @ps_wal_seg_size %> \
|
|
--web.enable-remote-write-receiver \
|
|
--web.enable-lifecycle \
|
|
--storage.tsdb.wal-compression \
|
|
--storage.tsdb.min-block-duration=<%= @ps_min_block_dur %> \
|
|
--storage.tsdb.max-block-duration=<%= @ps_max_block_dur %>
|