vmalert: speed up rules reload from object storage #6210
Labels
enhancement
New feature or request
enterprise
Enterprise issue, not included in free open source version
TBD
To Be Done
vmalert
Is your feature request related to a problem? Please describe
When loading rule files from object storage vmalert performs to subsequent actions:
The most time consuming stage is p2, as it loads each individual file and parses it. Would be great, if vmalert could speed up this stage by checking whether file's update time has changed or whether there were any changes to the bucket at all. In this way, vmalert could detect if something needs to be downloaded from object storage much faster.
Describe the solution you'd like
vmalert should remember file versions or update time of rules loaded from object storage. On next config reload call, vmalert should list all available files in the bucket and download only those which were updated since the last config reload.
The text was updated successfully, but these errors were encountered: