elijah / chef-prometheus

Chef cookbook for Prometheus. The open source service monitoring system and time-series database.
Apache License 2.0
52 stars 93 forks source link

Change storage local path, clean attributes #70

Closed allaire closed 7 years ago

allaire commented 7 years ago

/tmp makes no sense since it's cleared on reboot (defeating the purpose of storing the metrics).

Fix double web.web config

allaire commented 7 years ago

@elijah Also, Hipchat, PagerDuty etc config are still there, but not used anymore. Should we get rid of them?

Also had to put these to empty

default["prometheus"]["flags"]["storage.remote.timeout"] = ""
default["prometheus"]["flags"]["storage.remote.influxdb.database"] = ""
default["prometheus"]["flags"]["storage.remote.influxdb.retention-policy"] = ""
default['prometheus']['flags']['storage.local.memory-chunks'] = ""
allaire commented 7 years ago

Some good default paths here: https://github.com/William-Yeh/ansible-prometheus/blob/cdd0a594eb886de049a6971b54e792da7e252944/defaults/main.yml