getsentry / getsentry/sentry-javascript
Ensure DB instrumentations emit all db attributes
- Dominant language
- TypeScript
- Stars
- 8.7k
- Forks
- 1.8k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 523
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.
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, supabase, typescript
- Domain
- databases, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100