gateway: separate metrics for Signed IPNS from DNSLink
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- go
調査の方向性
リンクされている Boxo リファレンスの gateway/metrics.go から始め、既存の gateway メトリクスを bifrost-gateway/metrics.go と比較します。ラベル、成功/エラーの集計、期間の測定に関する未解決の疑問を解消し、その後、Thunderdome テストでメトリクスをどのように公開するかを決定します。署名付き IPNS および DNSLink リクエストについて、リクエスト、結果、期間のデータを個別に観測できるようになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Extracted from https://github.com/ipfs/kubo/issues/9927#issuecomment-1623791077
Currently, we have basic request counts and durations for gateway=ipfs and gateway=ipns namespaces in the form of boxo/gateway/metrics.go metrics:
# HELP ipfs_http_gw_get_duration_seconds The time to GET a successful response to a request (all content types).
# TYPE ipfs_http_gw_get_duration_seconds histogram
ipfs_http_gw_get_duration_seconds_bucket{gateway="ipfs",le="0.05"} 8
[..]
ipfs_http_gw_get_duration_seconds_bucket{gateway="ipfs",le="1920"} 11
ipfs_http_gw_get_duration_seconds_bucket{gateway="ipfs",le="+Inf"} 11
ipfs_http_gw_get_duration_seconds_sum{gateway="ipfs"} 1.185360469
Problem
/ipnssupports both DNSLink and Signed IPNS records – we have no visibility what is the % of each- we measure success only, have no visibility into % of IPNS record failures vs DNSLink failures
Solution
Requirements
TBD, initial requirements
- we need dedicated metric for each type of
/ipns/requestsigned_ipnsdnslink
- we need to be able to tell:
- how many requests were sent by clients
- how many requests were successful vs errored
- how long success / error takes? (could be precomputed P50/P95)
- we need to make sure this is visible in Thunderdome testing so we can catch regressions here during release phase
Open questions
- do we have a separate metrics for success/failure, or do we have single one with success/error attribute?
- do we do histogram with predefined duration buckets and implicit counter (like
ipfs_http_gw_get_duration_seconds)? - or maybe, instead of picking arbitrary duration buckets (like we have in legacy metrics) we should have P50, P75, P95, P99 Objectives, like we do here?
- 主要言語
- Go
- スター
- 326
- フォーク
- 165
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ipfs/boxo のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 46/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
need/triage
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
-
dif/medium effort/hours kind/enhancement P3 topic/devexp
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
似ている issue
-
affects-8.5 component/session severity/moderate sig/transaction type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
harvester/harvester#12311 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
verifyrun --bracket-digest --credit: relative --witness is could-not-check, absolute path creditsオープンbug effort:s impact:low raised-by:desk risk:low
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
medici-finance/assay#6580 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
blinklabs-io/gouroboros#3026 ·
メンテナーはふだん 1 日以内に返信