Skip to content

Make the structlog integration for Sentry logs #4417

Description

@sector119

Problem Statement

structlog logs can be sent to Sentry via the existing LoggingIntegration; however, this does not preserve the structuring of the logs (e.g. if the logs have custom attributes set, these are included in the log message). See this example

Solution Brainstorm

Instead, create a dedicated structlog integration, which would add these logs to the log event as custom attributes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions