Add extra settings for rabbitmq_exporter

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
This commit is contained in:
Dmitry Kalashnik 2019-11-13 17:09:00 +04:00 committed by Chris Wedgwood
parent 68a1b92768
commit cf2fe6793e
2 changed files with 9 additions and 0 deletions

View File

@ -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 }}

View File

@ -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: