Skip to content

Commit

Permalink
Add extra settings for rabbitmq_exporter
Browse files Browse the repository at this point in the history
This adds three new variables:
- skip_queues is for ability to skip metrics for some queues
- include_queues is the opposite parameter for presice setup
- rabbit_exporters is for ability to enable/disable exporter modules

Change-Id: Ia81a9921be6c14ec2035009fd164aab4c912f328
  • Loading branch information
dkalashnik authored and cwedgwood committed May 21, 2020
1 parent 68a1b92 commit cf2fe67
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,10 @@ spec:
value: {{ $envAll.Values.conf.prometheus_exporter.log_level | quote }}
- name: SKIPVERIFY
value: {{ $envAll.Values.conf.prometheus_exporter.skipverify | quote }}
- name: SKIP_QUEUES
value: {{ $envAll.Values.conf.prometheus_exporter.skip_queues | default "^$" | quote }}
- name: INCLUDE_QUEUES
value: {{ $envAll.Values.conf.prometheus_exporter.include_queues | default ".*" | quote }}
- name: RABBIT_EXPORTERS
value: {{ $envAll.Values.conf.prometheus_exporter.rabbit_exporters | default "overview,exchange,node,queue" | quote }}
{{- end }}
3 changes: 3 additions & 0 deletions rabbitmq/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ conf:
- no_sort
log_level: info
skipverify: 1
skip_queues: "^$"
include_queues: ".*"
rabbit_exporters: "overview,exchange,node,queue"
rabbitmq:
listeners:
tcp:
Expand Down

0 comments on commit cf2fe67

Please sign in to comment.