Skip to content

Update cloud logging exporter to correctly handle when LogRecord.body is of type Mapping[str, List[Mapping]]#430

Merged
DylanRussell merged 3 commits intoGoogleCloudPlatform:mainfrom
DylanRussell:fix_bytes_serialization
Oct 1, 2025
Merged

Update cloud logging exporter to correctly handle when LogRecord.body is of type Mapping[str, List[Mapping]]#430
DylanRussell merged 3 commits intoGoogleCloudPlatform:mainfrom
DylanRussell:fix_bytes_serialization

Conversation

@DylanRussell
Copy link
Copy Markdown
Contributor

Update cloud logging exporter to correctly handle when LogRecord.body is of type Mapping[str, List[Mapping]].

Fixes #429

@DylanRussell DylanRussell requested a review from a team as a code owner October 1, 2025 17:36
Comment thread opentelemetry-exporter-gcp-logging/tests/test_cloud_logging.py
@DylanRussell DylanRussell enabled auto-merge (squash) October 1, 2025 19:14
@DylanRussell DylanRussell merged commit f4a864a into GoogleCloudPlatform:main Oct 1, 2025
21 checks passed
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.

Logs with complex attributes fail to sanitize with ValueError: Unexpected type

2 participants