getsentry / getsentry/sentry-javascript

[Hono] Add attributes to spans and collect metrics

Open
#20,401 1 comment 0 reactions 1 assignee Claimed by @s1gr1d View on GitHub
Hono
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.