Add defaults for rabbitmq

pull/1/head
Steven Joseph 5 years ago
parent 1666766223
commit 041948358a
  1. 5
      prometheus/defaults.yaml
  2. 1
      prometheus/map.jinja

@ -39,3 +39,8 @@ prometheus:
source_hash: sha1=56849253e280db3db2aa80f1013ecfe242536d32
args:
scrape_uri: 'unix:/run/haproxy/admin.sock'
rabbitmq:
version: 0.24.0.linux-amd64
install_dir: /opt
source: https://github.com/kbudde/rabbitmq_exporter/releases/download/v0.24.0/rabbitmq_exporter-0.24.0.linux-amd64.tar.gz
source_hash: sha256=dbbd44a5a4b4a22ba338b9732c014587bc11513a5d6d2e3e519fc313b1cc46d4

@ -8,4 +8,5 @@
{% do prometheus.exporter.node.update({'version_path': prometheus.exporter.node.install_dir ~ "/node_exporter-" ~ prometheus.exporter.node.version}) %}
{% do prometheus.exporter.blackbox.update({'version_path': prometheus.exporter.blackbox.install_dir ~ "/blackbox_exporter-" ~ prometheus.exporter.blackbox.version}) %}
{% do prometheus.exporter.haproxy.update({'version_path': prometheus.exporter.haproxy.install_dir ~ "/haproxy_exporter-" ~ prometheus.exporter.haproxy.version}) %}
{% do prometheus.exporter.rabbitmq.update({'version_path': prometheus.exporter.rabbitmq.install_dir ~ "/rabbitmq_exporter-" ~ prometheus.exporter.rabbitmq.version}) %}

Loading…
Cancel
Save