agardnerIT / agardnerIT/badtrace

[SCENARIO] Dropped Events

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

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")
}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.