Add IO attribution anomaly detection and alert correlation
This commit is contained in:
@@ -57,7 +57,7 @@ func (c *activityCollector) collect(guests GuestsMetrics) ProxmoxActivity {
|
||||
value := c.value
|
||||
c.mu.RUnlock()
|
||||
c.mu.Lock()
|
||||
if !c.refreshing && time.Since(time.Unix(value.CheckedAt, 0)) > 10*time.Minute {
|
||||
if !c.refreshing && time.Since(time.Unix(value.CheckedAt, 0)) > 15*time.Second {
|
||||
c.refreshing = true
|
||||
go c.refreshWithGuests(guests)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user