-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CloudOpenMetrics] Add companion metrics
Add companion metrics which log the MetricState of each of the existing metrics from the cloud upload flow: - Task Result - Upload Result - Copy/Move IO Task Error - Source Volume - TransferRequired - Open Errors The CloudOpenMetrics object updates the state of each metric throughout the cloud upload flow. In the CloudOpenMetrics destructor, extra business logic is applied to check if any metric is inconsistent (and should take an inconsistent MetricState). Finally, each companion metric is logged. Add the MetricState enum to enums.xml. Bug: b/300861997 Change-Id: I9d5d463e71603c159cb26fdd384d5c71b5bbd941 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4942614 Reviewed-by: Nigel Tao <nigeltao@chromium.org> Commit-Queue: Cassy Chun-Crogan <cassycc@google.com> Cr-Commit-Position: refs/heads/main@{#1211796}
- Loading branch information
cassycc
authored and
Chromium LUCI CQ
committed
Oct 18, 2023
1 parent
4780e1d
commit 2191905
Showing
6 changed files
with
165 additions
and
6 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
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
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