getsentry / getsentry/sentry-javascript

Cloudflare Workers support KV tracing

オープン
#16,250 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る
Feature
主要言語
TypeScript
スター
8.7k
フォーク
1.8k
平均マージ
1日 17時間
マージ済み PR(30日)
515

説明

### Problem Statement

Cloudflare workers commonly use KV as a key-value store for caching or even the main database of a worker.

- https://developers.cloudflare.com/kv/

Currently the SDK doesn't provide an out-of-the-box integration tracing KV calls.

### Solution Brainstorm

Add `Sentry.instrumentKVWithSentry` to generate similar spans to the D1 integration.

There is a bit of an interesting consideration here possibly since it's not always used for caching or like a database. So choosing which span's to generate (cache or db) might be a discussion point.

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

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

評価

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

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

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