getsentry / getsentry/sentry-java

Support DynamoDB

Open
#4,176 0 comments 1 reaction 0 assignees View on GitHub
Feature Java
Dominant language
Kotlin
Stars
1.4k
Forks
478
Avg merge
2d 23h
Merged PRs (30d)
67

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.