agardnerIT / agardnerIT/badtrace

[SCENARIO] Dropped Events

Ouverte
#2 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
1
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

I've also raised ([here](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": 0,
"attributes": [],
"events": [],
"droppedEventsCount": 21,
"status": {
"code": get_span_status_int("OK")
}
}
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

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