getsentry / getsentry/sentry-javascript

[Hono] Add attributes to spans and collect metrics

未关闭
#20,401 1 条评论 0 个 reaction 已指派 1 人 已被 @s1gr1d 认领 在 GitHub 查看
Hono
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
515

描述

Hono provides some useful data that could be either added to a span or sent as a metric. This issue provides a collection of those:

**HTTP connection info**
[https://hono.dev/docs/helpers/conninfo]()

**Used Router Name**
`TrieRouter | RegExpRouter | LinearRouter | PatternRouter`
[https://hono.dev/docs/helpers/dev#getroutername]()

**Request ID Middleware**
[https://hono.dev/docs/middleware/builtin/request-id#request-id-middleware]()
Could be used for trace/span correlation

### Priority

React with 👍 to help prioritize this feature. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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