Skip to content

Add force_flush method to CloudLoggingExporter - #559

Merged
DylanRussell merged 2 commits into
GoogleCloudPlatform:mainfrom
DylanRussell:fix_144
Jul 30, 2026
Merged

Add force_flush method to CloudLoggingExporter#559
DylanRussell merged 2 commits into
GoogleCloudPlatform:mainfrom
DylanRussell:fix_144

Conversation

@DylanRussell

Copy link
Copy Markdown
Contributor

v1.44 of otel sdk breaks the exporter because it requires a force_flush method on logging exporters... This PR fixes it

@DylanRussell
DylanRussell requested a review from a team as a code owner July 30, 2026 14:25

For CloudLoggingExporter, this is a no-op as logs are exported synchronously.
"""
logger.info("force_flush does nothing for CloudLoggingExporter")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure it's needed or maybe debug level

@DylanRussell
DylanRussell enabled auto-merge (squash) July 30, 2026 17:49
@DylanRussell
DylanRussell merged commit 3520c19 into GoogleCloudPlatform:main Jul 30, 2026
27 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.

2 participants