getsentry / getsentry/sentry-python

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

未關閉
#7,475 1 則留言 0 個 reaction 已指派 1 人 已被 @pabloDeputter 認領 在 GitHub 檢視
Feature Python Traces
主要語言
Python
星號
2.2k
分支
669
平均合併
1 天 1 小時
30 天內合併 PR
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 摘要。