Add error_message field to bundle deploy telemetry#4793
Open
shreyas-goenka wants to merge 1 commit intomainfrom
Open
Add error_message field to bundle deploy telemetry#4793shreyas-goenka wants to merge 1 commit intomainfrom
shreyas-goenka wants to merge 1 commit intomainfrom
Conversation
c7ee5c8 to
cb59f1d
Compare
Collaborator
|
Commit: 1a8ff40
18 interesting tests: 9 SKIP, 7 KNOWN, 2 flaky
Top 20 slowest tests (at least 2 minutes):
|
Track the first error diagnostic summary encountered during bundle deploy in telemetry. Move telemetry logging into a defer so it's always captured, even when deploy fails. Co-authored-by: Isaac
cb59f1d to
1a8ff40
Compare
Suggested reviewersBased on git history of the changed files, these people are best suited to review:
Confidence: high Eligible reviewersBased on CODEOWNERS, these people or teams could also review: @andrewnester, @anton-107, @pietern, @simonfaltum Suggestions based on git history of 5 changed files (5 scored). See CODEOWNERS for path-specific ownership rules. |
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.
Changes
Adds support for logging error messages encountered during
bundle deployin telemetry. This gives the developer ecosystem team visibility into user-facing errors.What changed:
libs/telemetry/protos/bundle_deploy.go: AddedErrorMessagefield toBundleDeployEventstructlibs/logdiag/logdiag.go: AddedFirstErrorSummaryfield toLogDiagDatato capture the summary of the first error diagnostic. AddedGetFirstErrorSummary()getterbundle/phases/deploy.go: MovedlogDeployTelemetryinto adeferso telemetry is always logged, even when deploy failsbundle/phases/telemetry.go: PopulatesErrorMessagefromlogdiag.GetFirstErrorSummary(ctx)