Set the retention policy on the store
parent
2894234b1e
commit
08ca148724
|
@ -76,6 +76,7 @@ func New(c Config) *Monitor {
|
|||
storeEnabled: c.StoreEnabled,
|
||||
storeDatabase: c.StoreDatabase,
|
||||
storeInterval: time.Duration(c.StoreInterval),
|
||||
storeRetentionPolicy: MonitorRetentionPolicy,
|
||||
Logger: log.New(os.Stderr, "[monitor] ", log.LstdFlags),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue