getsentry / getsentry/sentry-java

Support DynamoDB

Ouverte
#4,176 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Feature Java
Langage dominant
Kotlin
Étoiles
1.4k
Forks
478
Merge moyen
2 j 23 h
PR mergées (30 j)
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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.