getsentry / getsentry/sentry-java

Support DynamoDB

Abierto
#4,176 0 comentarios 1 reacción 0 asignados Ver en GitHub
Feature Java
Lenguaje dominante
Kotlin
Estrellas
1.4k
Forks
478
Merge medio
2 d 23 h
PR fusionados (30 d)
67

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.