add last push for machines
This commit is contained in:
parent
3046181316
commit
21f83b6a0f
|
@ -425,6 +425,7 @@ func (a *apic) SendMetrics() error {
|
||||||
Version: machine.Version,
|
Version: machine.Version,
|
||||||
Name: machine.MachineId,
|
Name: machine.MachineId,
|
||||||
LastUpdate: machine.UpdatedAt.String(),
|
LastUpdate: machine.UpdatedAt.String(),
|
||||||
|
LastPush: machine.LastPush.String(),
|
||||||
}
|
}
|
||||||
metric.Machines = append(metric.Machines, m)
|
metric.Machines = append(metric.Machines, m)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue