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 摘要。