Manage Prometheus.
Table of Contents
See the full SaltStack Formulas installation and usage instructions.
If you want to use this formula, please pay attention to the FORMULA
file and/or git tag
,
which contains the currently released version. This formula is versioned according to Semantic Versioning.
See Formula Versioning Section for more details.
Please see https://github.com/saltstack-formulas/prometheus-formula/blob/master/docs/CONTRIBUTING.rst
Meta-state (This is a state that includes other states).
This installs the prometheus package, manages the prometheus configuration file and then starts the associated prometheus service.
This state will install the prometheus package only.
This state will configure the prometheus service and has a dependency on prometheus.install
via include list.
This state will start the prometheus service and has a dependency on prometheus.config
via include list.
Meta-state (This is a state that includes other states).
this state will undo everything performed in the prometheus
meta-state in reverse order, i.e.
stops the service,
removes the configuration file and
then uninstalls the package.
This state will stop the prometheus service and disable it at boot time.
This state will remove the configuration of the prometheus service and has a
dependency on prometheus.service.clean
via include list.
This state will remove the prometheus package and has a depency on
prometheus.config.clean
via include list.
This state will manage prometheus exporters according to Pillar prometheus:exporters
.
It includes sub-states like prometheus.exporters.node
.
If you don't want to use Pillar data for this you may use the sub-states directly.