getsentry / getsentry/sentry-javascript

Ensure DB instrumentations emit all db attributes

Offen
#23,735 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Core javascript Traces
Vorherrschende Sprache
TypeScript
Sterne
8.7k
Forks
1.8k
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
523

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
mysql, supabase, typescript
Bereich
databases, observability
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.