feat(observability/metrics): add RecordRequest#183
Open
xytan0056 wants to merge 1 commit into
Open
Conversation
f3b33a1 to
381f8df
Compare
fc409c7 to
92ec6d7
Compare
381f8df to
ab10f3b
Compare
92ec6d7 to
0c4fa79
Compare
ab10f3b to
76e7a51
Compare
0c4fa79 to
4e0dd99
Compare
xytan0056
commented
Jul 11, 2026
| if err != nil { | ||
| result = ResultFail | ||
| } | ||
| // TODO: when err != nil, derive failure_type and failure_source tags from |
Contributor
Author
There was a problem hiding this comment.
update when errors package is ready
76e7a51 to
a101bd7
Compare
4e0dd99 to
2d79c40
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
RecordRequest(e, op, dur, err): recordstotal_durationand arequestscounter tagged result=success/fail.Failure classification (the
failure_type/failure_sourcetags) is left as a TODO and handled in a separate change.Stacked on #182.