Tracer & metrics improvements

オープン
#91 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
haskell

調査の方向性

Start with dmq-node/src/DMQ/Tracer.hs at the referenced MsgRequestSigIds trace, then trace the mempool and signature submission paths to find where signatures are advertised, requested, sent, expire, and trigger disconnects. The issue lists the desired trace split and counters, but does not name the metric definitions or tests; done means implementing and verifying each listed trace and metric.

索引モデルが issue の本文から書いたものです。

説明

tracing
Trace improvements
  • Trace arguments of MsgRequestSigIds, (ref). We should also split it into two MsgRequestTxIdsBlocking, MsgRequestTxIdsNonBlocking.
Mempool Metrics
  • Counter signatures in the mempool
Local Signatures Metrics
  • Count locally accepted signatures once on their first advertisement to any peer.
  • Count locally accepted signatures which expired before their first advertisement.
  • Count locally accepted signatures which body was sent to at least one peer.
SigSubmission Errors Metrics
  • Count locally initiated disconnect by cause (sig-submission mini-protocol violation, sig validation errors, etc)
Outbound Metrics
  • Count SigIDs advertised
  • Count Sigs requested from us
  • Count Sigs sent
  • Count Sigs we could no longer supply
主要言語
Haskell
スター
2
フォーク
6
平均マージ
9日 10時間
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

IntersectMBO/dmq-node のほかの issue

IntersectMBO/dmq-node の issue をすべて見る

似ている issue

Haskell の issue をもっと見る

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

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