From 55e98913ed0dfd66c16b19b6355255a7b270560a Mon Sep 17 00:00:00 2001 From: Jaime Soriano Pastor Date: Fri, 17 Apr 2020 16:27:23 +0200 Subject: [PATCH] Drop duplicated histograms --- .../module/cockroachdb/status/manifest.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/x-pack/metricbeat/module/cockroachdb/status/manifest.yml b/x-pack/metricbeat/module/cockroachdb/status/manifest.yml index 5b7c1323857..02a826874aa 100644 --- a/x-pack/metricbeat/module/cockroachdb/status/manifest.yml +++ b/x-pack/metricbeat/module/cockroachdb/status/manifest.yml @@ -5,3 +5,15 @@ input: defaults: metrics_path: /_status/vars use_types: true +processors: + - drop_fields: + ignore_missing: true + fields: + # These metrics are duplicated in the Prometheus response and produce + # histograms with wrong counts and rates. + # XXX: Create an issue as follow-up of this + - prometheus.sql_mem_sql_max + - prometheus.sql_mem_sql_session + - prometheus.sql_mem_sql_session_max + - prometheus.sql_mem_sql_txn + - prometheus.sql_mem_sql_txn_max