-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce new metrics to track API call duration and Update status.St…
…atus to capture underlying cause (#842) * added histogram metrics to capture invocation duration of provide APIs changed the name of the API request duration metric added metric to capture overall duration for driver api calls reverted back to using service label for provider api metric added cause to status.Status added WrapError function corrected docstrings corrected leftover docstring Update pkg/util/provider/metrics/metrics.go Co-authored-by: Himanshu Sharma <[email protected]> Apply suggestions from code review Co-authored-by: Himanshu Sharma <[email protected]> addressed review comment - removed populating cause when in FromError when err is already status.Status * added Driver failed API request counter
- Loading branch information
1 parent
b7fe287
commit 61d9417
Showing
2 changed files
with
59 additions
and
3 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