getsentry / getsentry/sentry-java

Support DynamoDB

未关闭
#4,176 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
Feature Java
主要语言
Kotlin
星标
1.4k
派生
478
平均合并
2 天 23 小时
30 天内合并 PR
67

描述

### Problem Statement

If you would like to see support for DynamoDB in Sentry, please 👍

### Solution Brainstorm

We would likely have to transform OpenTelemetry span attributes to make it look like a query that Sentry expects.

It would be better to have support for this in Sentry backend without having to transform anything in the SDK.

Here's the attributes of a PUT:
```
{
aws.request_id: 8373caeb-c680-40ea-8b3c-d7f0e442ba97,
aws.table.name: orders_table,
db.operation: PutItem,
db.system: dynamodb,
http.request.method: POST,
http.response.status_code: 200,
rpc.method: PutItem,
rpc.service: DynamoDb,
rpc.system: aws-api,
server.address: localhost,
server.port: 8000,
thread.id: 1,
thread.name: main,
url.full: http://localhost:8000/
}
```

And a GET:
```
{
aws.request_id: 07915126-543f-4d4a-9e3e-babd6e90c47c,
aws.table.name: orders_table,
db.operation: GetItem,
db.system: dynamodb,
http.request.method: POST,
http.response.status_code: 200,
rpc.method: GetItem,
rpc.service: DynamoDb,
rpc.system: aws-api,
server.address: localhost,
server.port: 8000,
thread.id: 1,
thread.name: main,
url.full: http://localhost:8000/
}
```

See https://github.com/getsentry/sentry-java/issues/4086 for more details on the investigation done.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。