getsentry / getsentry/sentry-java

Support DynamoDB

Đang mở
#4,176 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Feature Java
Ngôn ngữ chính
Kotlin
Star
1.4k
Fork
478
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
67

Mô tả

### 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.