getsentry / getsentry/sentry-javascript

Cloudflare Workers support KV tracing

Open
#16,250 0 comments 2 reactions 0 assignees View on GitHub
Feature
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.