getsentry / getsentry/sentry-java

Reevaluate traceId generation places

オープン
#4,674 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
Java Task Traces
主要言語
Kotlin
スター
1.4k
フォーク
478
平均マージ
2日 22時間
マージ済み PR(30日)
69

説明

### Description

There is an "issue" with ANRs [not having the same traceId]() of the currently running transaction, if the transaction finishes right before the ANR occurs.

This is due to our TWP implementation. Should we change it?
It would mean to either

* understand if an anr is likely going to occur and don't overwrite the stored traceId when the current span finishes
* replace the traceId stored from spans only after at least 5 seconds, ensuring that the traceId stored in the `PersistingScopeObserver` is used only by ANRs

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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