getsentry / getsentry/sentry-javascript

Cloudflare Workers support KV tracing

未关闭
#16,250 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
Feature
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
523

描述

### 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 摘要。