getsentry / getsentry/sentry-javascript
feat: add `CODE_FUNCTION_NAME` to sentry-conventions, set to route handler function name
- 主要语言
- TypeScript
- 星标
- 8.7k
- 派生
- 1.8k
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 523
描述
### Description
Re: https://github.com/getsentry/sentry-javascript/pull/23614#discussion_r3896481634
@Lms24 suggests:
> we might wanna look into if we should add something like a `{{code.function.name}}` template to the request handler name [rules](https://getsentry.github.io/sentry-conventions/names/#web_server-request-handler). But if we do, we can tackle it as a follow up
- Update sentry-conventions to make `CODE_FUNCTION_NAME` a template to optionally hold the request handler function name.
- Update request handlers to follow the convention.
贡献指南
调研方向
Start by locating the sentry-conventions request-handler naming rules and the request-handler implementations in this repository. Update the convention so CODE_FUNCTION_NAME can optionally contain the handler function name, then bring the request handlers into compliance and verify the relevant checks pass.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- api, backend
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100