getsentry / getsentry/sentry-python
Make the `structlog` integration for Sentry logs
未关闭
Feature
Logs
Python
- 主要语言
- Python
- 星标
- 2.2k
- 派生
- 669
- 平均合并
- 1 天 1 小时
- 30 天内合并 PR
- 213
描述
### 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](https://github.com/getsentry/sentry-python/issues/4417#issuecomment-2910640972)
### Solution Brainstorm
Instead, create a dedicated `structlog` integration, which would add these logs to the log event as custom attributes.
贡献指南
评估
这个 Issue 还没有评估数据。