-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api/vmalertmanagerconfig: rework config validation
* adds more strict validation to VMAlertmanagerConfig * skip broken configurations from VMAlertmanager during config build * adds new status fields to the VMalertmanager config: * lastSyncError - that defines last error occured to the config during config generation * status - generic CRD status for health track * additional fields for sync error context, like last error timestamp and name of alertmanager * adds stack trace only to the panic level errors. It should reduce log noise #825 Signed-off-by: f41gh7 <[email protected]>
- Loading branch information
Showing
15 changed files
with
2,645 additions
and
406 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.