feat(aws-lambda): Add HTTP trigger attributes

オープン
#8,082 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
aws, python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
2.2k
フォーク
713
平均マージ
1日 16分
マージ済み PR(30日)
113

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/sentry-python のほかの issue

getsentry/sentry-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。