getsentry / getsentry/sentry-javascript

Ensure DB instrumentations emit all db attributes

未关闭
#23,735 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Core javascript Traces
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
523

描述

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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
mysql, supabase, typescript
领域
databases, observability
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。