forked from apache/doris
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[opt](log) add warn log for saving and pushing image failure (apache#…
…41216) We already have some metric on FE to record the number of saving or pushing image failure events. Such as: ``` doris_fe_image_push{type="failed"} 0 doris_fe_image_push{type="success"} 0 ``` But it is a counter and hard to monitor them if user want to send alert when failure. Actually, this kind of event-driven alert is better be done using log. So I add some warning log for these failure. So that use can monitor the log and send alert when failure. - Saving image failure: `Save image failed: xxx` - Pushing image failure: `Push image failed: xxx` - Deleting old edit log failure: `Delete old edit log failed: xxx` - Deleting old image failure: `Delete old image failed: xxx`
- Loading branch information
1 parent
705f9c2
commit f3e7fa3
Showing
1 changed file
with
17 additions
and
15 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