GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-nodejs

Unable to grab references to uncaught exceptions

オープン
#215 コメント 28 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

docs enhancement P3 question
主要言語
TypeScript
スター
1.4k
フォーク
181
PR マージ指標
30日以内にマージされた PR はありません

説明

I work at Sentry, an open source software for application monitoring. We are adding support for Node+Cloud Functions to automatically report code errors. However, we are not able to get reference to the handler in order to capture uncaught exceptions. developers are required to manually catch the error and report it (https://github.com/GoogleCloudPlatform/stackdriver-errors-js#usage).

Here's current Sentry Node integration on Cloud Functions (https://docs.sentry.io/platforms/node/guides/gcp-functions/). This requires captureException call.

As a result of conversation with Steren and Vinod, posting the issue here.
cc: @steren @grant

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、現在の Sentry Node integration、リンクされている Stackdriver の使用方法、およびこの issue で説明されている functions-framework-nodejs の動作を読んでください。captureException を必要とせずに Cloud Functions handler が捕捉されなかった例外を公開できる方法を判断してください。integration がそれらのエラーを自動的に報告できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
google-cloud, node.js, typescript
領域
backend, cloud
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

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

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