From 320d8b38a541b25c804db648e0c074e9e003a014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Oelm=C3=BCller?= Date: Wed, 27 Feb 2019 13:51:03 +0100 Subject: [PATCH] remove cluster_health_timed_out metric (fixes #212) --- collector/cluster_health.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/collector/cluster_health.go b/collector/cluster_health.go index 49ac729a..5321adce 100644 --- a/collector/cluster_health.go +++ b/collector/cluster_health.go @@ -180,20 +180,6 @@ func NewClusterHealth(logger log.Logger, client *http.Client, url *url.URL) *Clu return float64(clusterHealth.RelocatingShards) }, }, - { - Type: prometheus.GaugeValue, - Desc: prometheus.NewDesc( - prometheus.BuildFQName(namespace, subsystem, "timed_out"), - "Number of cluster health checks timed out", - defaultClusterHealthLabels, nil, - ), - Value: func(clusterHealth clusterHealthResponse) float64 { - if clusterHealth.TimedOut { - return 1 - } - return 0 - }, - }, { Type: prometheus.GaugeValue, Desc: prometheus.NewDesc(