getsentry / getsentry/sentry-javascript

Cloudflare Workers support KV tracing

Abierto
#16,250 0 comentarios 2 reacciones 0 asignados Ver en GitHub
Feature
Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
1.8k
Merge medio
1 d 17 h
PR fusionados (30 d)
523

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.