feat(aws-lambda): Add HTTP trigger attributes

Abierto
#8,082 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
aws, python

Línea de trabajo

Start with the AWS Lambda integration and the related work in getsentry/sentry-python#8081, which this issue depends on. Map the API Gateway v1/v2, Function URL, and ALB event fields to the listed HTTP attributes, including their data collection filters. Done means those attributes and the specified 4xx/5xx behavior are covered; the issue names no files or tests.

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

Descripción

Feature Integration: AWS Lambda Python Traces

HTTP-triggered attributes have no attributes yet; so add the following attributes

API Gateway v1/v2, Function URL, ALB

  • http.request.method: v1 httpMethod, v2 requestContext.http.method
  • http.route: v1 resource, v2 routeKey without the method (not $default)
  • url.scheme, url.path, url.query / url.full, server.address, user_agent.original
  • client.address
  • http.request.header.<name>: also merging multiValueHeaders; v2 cookies
  • http.response.status_code: the handler's returned statusCode; 5xx sets error.type and error status, 4xx doesn't

Following attributes can be filtered using data collection settings: client.address behind user_info, headers behind http_headers, cookies behind cookies, the query behind url_query_params, the body behind http_bodies.

Depends on getsentry/sentry-python#8081

Lenguaje dominante
Python
Estrellas
2.2k
Forks
713
Merge medio
1 d 16 min
PR fusionados (30 d)
113

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de getsentry/sentry-python

Todos los issues de getsentry/sentry-python

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.