Open hocinehacherouf opened 2 years ago
Actions :
@kbeaugrand currently we use scheduled jobs to retrieve metrics about devices from azure iot hub. Some metrics can be queried from our database, other metrics can be retrieved only on azure iot hub.
I propose:
Saw in PBR.
No problem to synchronize the data during device sync job. Metrics might be taken directly from our database. Add the cache at the controller level.
This will make the settings around metrics job useless (important change not breaking).
Is your feature request related to a problem? Please describe. Currently, custom metrics are calculated each time interval (by default each 10 minutes). Between each iteration, these metrics can be outdated.
Describe the solution you'd like To keep custom metrics up to date: When a data has been created, updated, deleted, its related custom metric must be recalculated unitary