getsentry / getsentry/sentry-javascript
feat: add `CODE_FUNCTION_NAME` to sentry-conventions, set to route handler function name
- Vorherrschende Sprache
- TypeScript
- Sterne
- 8.7k
- Forks
- 1.8k
- Ø Merge
- 1 T. 17 Std.
- Gemergte PRs (30 T.)
- 523
Beschreibung
### 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.
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- api, backend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100