Skip to content

Commit

Permalink
Exclude every queue measurement gathering
Browse files Browse the repository at this point in the history
Since influxdata/telegraf#3702 was merged
we can skip `rabbitmq_queue` measurement. We don't have
alerts/dashboards based on this metrics. Let's disable gathering.

PROD-Related: PROD-17026 

Change-Id: I8da572741918506a139f02d92f04aec08934068d
  • Loading branch information
ildarsv committed Jan 31, 2018
1 parent e4301eb commit 54e30f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rabbitmq/files/telegraf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,10 @@
{%- if values.queues is defined %}
queues = {{ values.queues|json }}
{%- endif %}
{%- if values.queue_name_include is defined %}
queue_name_include = {{ values.queue_name_include|json }}
{%- endif %}
{%- if values.queue_name_exclude is defined %}
queue_name_exclude = {{ values.queue_name_exclude|json }}
{%- endif %}
{%- include 'telegraf/files/input/_tags.conf' %}
1 change: 1 addition & 0 deletions rabbitmq/meta/telegraf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ agent:
password: >-
{{ server.admin.password }}
nodes: [ "rabbit@{{ grains.host }}" ]
queue_name_exclude: [ "*" ]
tagexclude: [ "node", "url" ]
tagdrop:
queue: [ "*_fanout_*", "reply_*" ]
Expand Down

0 comments on commit 54e30f7

Please sign in to comment.