getsentry / getsentry/sentry-javascript

feat: add `CODE_FUNCTION_NAME` to sentry-conventions, set to route handler function name

Abierto
#23,871 1 comentario 0 reacciones 0 asignados Ver en GitHub
Core Feature javascript Traces
Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
1.8k
Merge medio
1 d 17 h
PR fusionados (30 d)
515

Descripción

### 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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
typescript
Área
api, backend
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Activo
Claridad
Bastante claro
Aptitud para principiantes
55/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.