Go to file
semantic-release-bot 0527efcc3f chore(release): 2.0.0 [skip ci]
# [2.0.0](https://github.com/saltstack-formulas/prometheus-formula/compare/v1.2.0...v2.0.0) (2019-06-22)

### Features

* **repository:** add support for pkgrepo.managed ([907f9a6](https://github.com/saltstack-formulas/prometheus-formula/commit/907f9a6))

### BREAKING CHANGES

* **repository:** the variable 'pkg' was renamed 'pkg.name',
  update your pillars
2019-06-22 17:00:30 +00:00
docs chore(release): 2.0.0 [skip ci] 2019-06-22 17:00:30 +00:00
prometheus feat(repository): add support for pkgrepo.managed 2019-06-12 11:03:28 +01:00
test/integration/default feat(exporters): added node_exporter 2019-04-29 13:54:40 +02:00
.gitignore ci(travis): use structure of template-formula 2019-04-25 22:14:39 +02:00
.travis.yml ci(travis): use structure of template-formula 2019-04-25 22:14:39 +02:00
AUTHORS.md chore(release): 2.0.0 [skip ci] 2019-06-22 17:00:30 +00:00
CHANGELOG.md chore(release): 2.0.0 [skip ci] 2019-06-22 17:00:30 +00:00
commitlint.config.js ci(travis): use structure of template-formula 2019-04-25 22:14:39 +02:00
FORMULA chore(release): 2.0.0 [skip ci] 2019-06-22 17:00:30 +00:00
Gemfile ci(travis): use structure of template-formula 2019-04-25 22:14:39 +02:00
kitchen.yml feat(exporters): added node_exporter 2019-04-29 13:54:40 +02:00
LICENSE chore(licence): edited year 2019-04-30 22:12:32 +02:00
pillar.example feat(repository): add support for pkgrepo.managed 2019-06-12 11:03:28 +01:00
pre-commit_semantic-release.sh ci(travis): use structure of template-formula 2019-04-25 22:14:39 +02:00
release-rules.js ci(travis): use structure of template-formula 2019-04-25 22:14:39 +02:00
release.config.js ci(travis): use structure of template-formula 2019-04-25 22:14:39 +02:00

prometheus-formula ================

Travis CI Build Status Semantic Release

Manage Prometheus.

Table of Contents

General notes

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.

Contributing to this repo

Please see https://github.com/saltstack-formulas/prometheus-formula/blob/master/docs/CONTRIBUTING.rst

Available states

prometheus ^^^^^^^^^^^^

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.

prometheus.package ^^^^^^^^^^^^^^^^^^^^

This state will install the prometheus package only.

prometheus.config ^^^^^^^^^^^^^^^^^^^

This state will configure the prometheus service and has a dependency on prometheus.install via include list.

prometheus.service ^^^^^^^^^^^^^^^^^^^^

This state will start the prometheus service and has a dependency on prometheus.config via include list.

prometheus.clean ^^^^^^^^^^^^^^^^^^

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.

prometheus.service.clean ^^^^^^^^^^^^^^^^^^^^^^^^^^

This state will stop the prometheus service and disable it at boot time.

prometheus.config.clean ^^^^^^^^^^^^^^^^^^^^^^^^^

This state will remove the configuration of the prometheus service and has a dependency on prometheus.service.clean via include list.

prometheus.package.clean ^^^^^^^^^^^^^^^^^^^^^^^^^^

This state will remove the prometheus package and has a depency on prometheus.config.clean via include list.

prometheus.exporters

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.