getsentry / getsentry/sentry-javascript

Ensure DB instrumentations emit all db attributes

Ouverte
#23,735 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Core javascript Traces
Langage dominant
TypeScript
Étoiles
8.7k
Forks
1.8k
Merge moyen
1 j 17 h
PR mergées (30 j)
515

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
mysql, supabase, typescript
Domaine
databases, observability
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Active
Clarté
Plutôt claire
Accessibilité débutants
48/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.