agardnerIT / agardnerIT/badtrace

[SCENARIO] Dropped Attributes

オープン
#1 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
1
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。