You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cleanup obsolete local files for alertmanager. (#3910)
* Cleanup obsolete local files for alertmanager.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* CHANGELOG.md
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Comment.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Don't ignore directories. Log error when deletion fails instead.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Address review feedback.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Move per-tenant state into tenant directory to simplify cleanup.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Move migration to separate function.
Add test for migration.
Fix test for deletion of unused dirs.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Store templates to correct place.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* CHANGELOG.md
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Verify that templates are stored properly into correct location.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Comments.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Comments.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Apply suggestions from code review
Co-authored-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
* Review feedback.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
Co-authored-by: Marco Pracucci <marco@pracucci.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
## master / unreleased
4
4
5
+
*[CHANGE] Alertmanager now removes local files after Alertmanager is no longer running for removed or resharded user. #3910
6
+
*[CHANGE] Alertmanager now stores local files in per-tenant folders. Files stored by Alertmanager previously are migrated to new hierarchy. Support for this migration will be removed in Cortex 1.10. #3910
5
7
*[ENHANCEMENT] Ruler: optimized `<prefix>/api/v1/rules` and `<prefix>/api/v1/alerts` when ruler sharding is enabled. #3916
6
8
*[ENHANCEMENT] Ruler: added the following metrics when ruler sharding is enabled: #3916
0 commit comments