We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fc4fd36 + c54fa85 commit 094cd7fCopy full SHA for 094cd7f
main.go
@@ -216,7 +216,7 @@ func collectMetrics() {
216
if routeHealth.IsAlive {
217
routeHealthGauge.WithLabelValues(route.Name, router.Hostname).Set(float64(1))
218
} else {
219
- routeHealthGauge.WithLabelValues(route.Name).Set(float64(0))
+ routeHealthGauge.WithLabelValues(route.Name, router.Hostname).Set(float64(0))
220
}
221
222
routeDestinations, err := mysqlRouterClient.GetRouteDestinations(route.Name)
0 commit comments