Skip to content

Commit

Permalink
remove cluster_health_timed_out metric (fixes #212)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Oelmüller committed Feb 27, 2019
1 parent bfde553 commit 320d8b3
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions collector/cluster_health.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 320d8b3

Please sign in to comment.