agardnerIT / agardnerIT/badtrace

[SCENARIO] Dropped Links

未关闭
#3 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。