getsentry / getsentry/sentry-javascript

Ember pageload and navigation spans lack span description inference attributes

未关闭
#24,284 3 条评论 1 个 reaction 已指派 1 人 已被 @msonnb 认领 在 GitHub 查看
Bug Ember Spans
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
523

描述

### Description

Surfaced via https://github.com/getsentry/sentry-javascript/pull/24168#discussion_r3977008540, Ember pageload (and likely also navigation) spans don't carry a `name` that's equal to any of the attributes we need to infer the span description: https://getsentry.github.io/sentry-conventions/descriptions/#browser-pageload

We have a couple of options:
1. `router.navigation.route.id`
2. theoretically, `url.template` but the current pattern in the test doesn't seem to actually be a url
3. we override this with `sentry.description` to avoid span description inference and define the description locally in the SDK.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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