agardnerIT / agardnerIT/badtrace

[SCENARIO] Dropped Attributes

Abierto
#1 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
1
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Add a scenario to demonstrate a trace containing spans that has some dropped attributes. Demonstrated by a non-zero value in the `droppedAttributesCount` field.

I've also raised (https://github.com/open-telemetry/opentelemetry-proto/issues/745) that the documentation about when / why things are "dropped" is either incomplete or hard to find so it's hard for end users to understand why an event might be dropped.

## Example JSON

```
{
"traceId": trace_id,
"spanId": secrets.token_hex(8),
"name": "span",
"kind": "SPAN_KIND_UNSPECIFIED",
"start_time_unix_nano": span_start_time,
"end_time_unix_nano": span_end_time,
"droppedAttributesCount": 27,
"attributes": [],
"events": [],
"droppedEventsCount": 0,
"status": {
"code": get_span_status_int("OK")
}
}
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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.