getsentry / getsentry/sentry-python

feat(boto3): Add generic attributes that are common across services

オープン
#7,475 コメント 1 件 リアクション 0 件 担当者 1 名 @pabloDeputter が担当を希望しています GitHub で見る
Feature Python Traces
主要言語
Python
スター
2.2k
フォーク
669
平均マージ
1日 1時間
マージ済み PR(30日)
213

説明

* add generic attributes that are reused across different AWS services.
* request attributes must be created before span creation so streamed-span sampling can consider them.

| Field | Value |
| -- | -- |
| span name | `.`, for example `S3.GetObject` |
| `sentry.op` | `http.client` |
| `sentry.origin` | `auto.http.boto3` |
| `rpc.system.name` | `aws-api` |
| `rpc.service` | modeled service ID |
| `rpc.method` | modeled operation name |
| `cloud.provider` | `aws` |
| `cloud.region` | client region, when available |
| `server.address` | parsed endpoint hostname, when valid |
| `server.port` | endpoint port according to existing URL conventions |

#### Sources

* [https://opentelemetry.io/docs/specs/semconv/cloud-providers/aws-sdk/]()
* [https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-botocore/src/opentelemetry/instrumentation/botocore/__init__.py]()

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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