getsentry / getsentry/sentry-javascript

Ensure DB instrumentations emit all db attributes

Aperta
#23,735 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Core javascript Traces
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
515

Descrizione

### Description

Several of our DB instrumentations don't emit all db attributes they could emit.

For example (but not fully audited!):
- `db.operation.name` missing in `mysql2`
- `db.collection.name` missing in supabase and a bunch of other integrations

Pulled this out of #23523 to avoid scope creep but we should fix this soon.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Audit the database instrumentations, starting with the mysql2 and Supabase integrations named in the issue. Compare the attributes each integration emits with the applicable db attributes, then verify that the missing attributes, including db.operation.name and db.collection.name where relevant, are emitted consistently across the audited integrations.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
mysql, supabase, typescript
Ambito
databases, observability
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.