Skip to content

Commit

Permalink
fix(monitor): fix metric conflict in monitor prometheus controller
Browse files Browse the repository at this point in the history
Signed-off-by: Feng Kun <[email protected]>
  • Loading branch information
kevinfeng authored and tke-robot committed Jul 16, 2020
1 parent dad7c8f commit aac8bdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/monitor/controller/prometheus/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ package prometheus
import "github.com/prometheus/client_golang/prometheus"

var (
//TODO switch name back to prometheus_status_fail when rm platform addon platform
prometheusStatusFail = prometheus.NewGaugeVec(
prometheus.GaugeOpts{
Name: "prometheus_status_fail",
Name: "prometheus_status_fail_monitor",
Help: "prometheus addon status fail or not",
},
[]string{"tenant_id", "cluster_name", "prometheus_name"})
Expand Down

0 comments on commit aac8bdf

Please sign in to comment.