fix: Set NextCheckTime to LastCheckTime to avoid GroundWork to invent a value (#10623)
This commit is contained in:
parent
10cb2ec0e8
commit
906c71481b
|
|
@ -280,6 +280,7 @@ func (g *Groundwork) parseMetric(metric telegraf.Metric) (metricMeta, *transit.M
|
|||
MonitoredInfo: transit.MonitoredInfo{
|
||||
Status: transit.MonitorStatus(status),
|
||||
LastCheckTime: lastCheckTime,
|
||||
NextCheckTime: lastCheckTime, // if not added, GW will make this as LastCheckTime + 5 mins
|
||||
LastPluginOutput: message,
|
||||
},
|
||||
Metrics: nil,
|
||||
|
|
|
|||
Loading…
Reference in New Issue