Drop unused fields
The following fields form the telegraf ceph input plugin are
the third part of all metrics. We don't use these metrics in
alerts and dashboards. This patch skips these fields by default.
Change-Id: Id24aa4bc642f7f6a9164de6c51b358212a6c0546
diff --git a/ceph/files/telegraf.conf b/ceph/files/telegraf.conf
index 2ce6c27..69d085d 100644
--- a/ceph/files/telegraf.conf
+++ b/ceph/files/telegraf.conf
@@ -30,4 +30,4 @@
socket_suffix = "{{ values.socket_suffix }}"
{%- endif %}
-{%- include 'telegraf/files/input/_tags.conf' %}
+{%- include 'telegraf/files/input/_filters.conf' %}
diff --git a/ceph/meta/telegraf.yml b/ceph/meta/telegraf.yml
index b7628d0..2dabf02 100644
--- a/ceph/meta/telegraf.yml
+++ b/ceph/meta/telegraf.yml
@@ -30,6 +30,7 @@
gather_admin_socket_stats: false
gather_cluster_stats: true
gather_pool_loads: true
+ fielddrop: [ "get", "get_or_fail_fail", "get_or_fail_success", "get_sum", "max", "put", "put_sum", "take", "take_sum", "val", "wait_avgcount", "wait_sum"]
{%- endif %}
agent:
input:
@@ -60,6 +61,7 @@
gather_admin_socket_stats: true
gather_cluster_stats: false
gather_pool_loads: false
+ fielddrop: [ "get", "get_or_fail_fail", "get_or_fail_success", "get_sum", "max", "put", "put_sum", "take", "take_sum", "val", "wait_avgcount", "wait_sum"]
{%- endif %}
{%- endif %}
@@ -89,5 +91,6 @@
gather_admin_socket_stats: true
gather_cluster_stats: false
gather_pool_loads: false
+ fielddrop: [ "get", "get_or_fail_fail", "get_or_fail_success", "get_sum", "max", "put", "put_sum", "take", "take_sum", "val", "wait_avgcount", "wait_sum"]
{%- endif %}
{%- endif %}