Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sentry SDK 初期化タイミングの修正 #31

Open
kumamidori opened this issue Dec 16, 2021 · 0 comments
Open

Sentry SDK 初期化タイミングの修正 #31

kumamidori opened this issue Dec 16, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@kumamidori
Copy link
Contributor

kumamidori commented Dec 16, 2021

現行の仕様

  • トランザクション開始時に Sentry SDK を初期化しています
  • パフォーマンスを使わない場合に初期化されない不具合があります

あるべき仕様

  • 本来はSDK初期化のタイミングはアプリケーション実行の前処理、あるいはエンドポイントリソース実行の前処理であるべきです。トランザクションから切り離す必要があります。エラー監視がメイン機能でパフォーマンスは付加機能として位置づけられるためです。

  • Ray用とBEAR.Resource用で初期化タイミングの要件が異なり検討が必要です。

@kumamidori kumamidori added the bug Something isn't working label Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant