getsentry / getsentry/sentry-python

Make the `structlog` integration for Sentry logs

オープン
#4,417 コメント 7 件 リアクション 11 件 担当者 1 名 @alexander-alderman-webb が担当を希望しています GitHub で見る
Feature Logs Python
主要言語
Python
スター
2.2k
フォーク
669
平均マージ
1日 1時間
マージ済み PR(30日)
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。