agardnerIT / agardnerIT/badtrace

[SCENARIO] Dropped Links

Đang mở
#3 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Add a new scenario when https://github.com/open-telemetry/opentelemetry-collector/pull/14217 is merged to emit a trace with dropped links.

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

I think the trace would look like this, but not sure until the above PR is merged.

```
{
"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": 0,
"droppedLinksCount": 31,
"status": {
"code": get_span_status_int("OK")
}
}
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.