We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61d5262 commit 919fd56Copy full SHA for 919fd56
handler/heartbeat.go
@@ -76,7 +76,7 @@ func (c *Client) handleHeartbeats(ws conn) error {
76
}
77
78
// Update Prometheus signals every time a Registration message is received.
79
- c.UpdatePrometheusForMachine(context.Background(), hbm.Registration.Machine)
+ c.UpdatePrometheusForMachine(context.Background(), hbm.Registration.Hostname)
80
case hbm.Health != nil:
81
if err := c.UpdateHealth(hostname, *hbm.Health); err != nil {
82
closeConnection(experiment, err)
0 commit comments