http span and error.type
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- go
調査の方向性
otel.go の 217-224 行目から始め、現在の処理をリンク先の OpenTelemetry HTTP spans 仕様と比較します。レスポンスステータスコードの前後で error.type をどのように表現すべきかを判断します。この計装が、予測可能でカーディナリティの低い値を用いて引用されたルールに従えば、作業は完了です。
索引モデルが issue の本文から書いたものです。
説明
Spec https://opentelemetry.io/docs/specs/semconv/http/http-spans/ says
[5] error.type: If the request fails with an error before response status code was sent or received, error.type SHOULD be set to exception type (its fully-qualified class name, if applicable) or a component-specific low cardinality error identifier.
If response status code was sent or received and status indicates an error according to HTTP span status definition, error.type SHOULD be set to the status code number (represented as a string), an exception type (if thrown) or a component-specific error identifier.
The error.type value SHOULD be predictable and SHOULD have low cardinality. Instrumentations SHOULD document the list of errors they report.
The cardinality of error.type within one instrumentation library SHOULD be low, but telemetry consumers that aggregate data from multiple instrumentation libraries and applications should be prepared for error.type to have high cardinality at query time, when no additional filters are applied.
Relates to this place:
https://github.com/labstack/echo-opentelemetry/blob/a9468a6839c299cdee00c2c86eab31418a86f3b9/otel.go#L217-L224
- 主要言語
- Go
- スター
- 15
- フォーク
- 4
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
labstack/echo-opentelemetry のほかの issue
-
improve testcoverageオープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
labstack/echo-opentelemetry の issue をすべて見る
似ている issue
-
priority: low 🌱 type: enhancement 💅🏼
難易度 2/5 半日 初心者へのやさしさ 84/100
nebari-dev/llm-serving-pack#199 ·
メンテナーはふだん 3 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
area/helm kind/bug priority/backlog triage/accepted
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
lexfrei/cloudflare-tunnel-gateway-controller#889 ·
メンテナーはふだん 1 日以内に返信
-
bug difficulty: beginner documentation good first issue help wanted localization
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
wavefnd/wave-platform#140 ·
-
compiler/runtime
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信