Tracer & metrics improvements

未關閉
#91 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
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 小時
30 天內合併 PR
4

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

IntersectMBO/dmq-node 的其他 Issue

查看 IntersectMBO/dmq-node 的全部 Issue

相似的 Issue

更多 Haskell Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。