Skip to content

fix(SUP-7456): fix grpc code logging causing mapper_parsing_exception…#718

Merged
AlfredoAndrade14 merged 1 commit into
mainfrom
fix/SUP-7456
May 21, 2026
Merged

fix(SUP-7456): fix grpc code logging causing mapper_parsing_exception…#718
AlfredoAndrade14 merged 1 commit into
mainfrom
fix/SUP-7456

Conversation

@wls-villani-ed

Copy link
Copy Markdown
Collaborator

… in logzio

zap.Any on codes.Code (a named uint32 type) falls through to the fmt.Stringer case and logs the value as a string (e.g. "Unavailable"), conflicting with the existing long mapping for json.code in Logz.io.

Replace with zap.Uint32 to preserve the numeric value for the existing mapping, and add grpc_code as a human-readable string field.

… in logzio

zap.Any on codes.Code (a named uint32 type) falls through to the
fmt.Stringer case and logs the value as a string (e.g. "Unavailable"),
conflicting with the existing long mapping for json.code in Logz.io.

Replace with zap.Uint32 to preserve the numeric value for the existing
mapping, and add grpc_code as a human-readable string field.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@AlfredoAndrade14 AlfredoAndrade14 merged commit c910b79 into main May 21, 2026
14 checks passed
@AlfredoAndrade14 AlfredoAndrade14 deleted the fix/SUP-7456 branch May 21, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants