graphprotocol / graphprotocol/graph-node

[Feature] Differentiate prometheus metric for large vs non-large notifications

未关闭
#4,535 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement ops Stale
主要语言
Rust
星标
3.2k
派生
1.1k
平均合并
4 天 1 小时
30 天内合并 PR
1

描述

Description

It would be great if there was a prometheus metric which captures the count of large notifications. We have a counter for all notifications, it would be great if either there was a separate counter for large notifications or a field which differentiates large vs small in the global counter.

Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.

Nope

Some information to help us out
  • Tick this box if you plan on implementing this feature yourself.
  • I have searched the issue tracker to make sure this issue is not a duplicate.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 store/postgres/src/notification_listener.rs 中链接的第 394-396 行现有通知计数器开始。跟踪通知大小如何在该入口点可用,并选择 issue 中要求的指标表示形式。当 Prometheus 暴露出能够区分大型通知和非大型通知的计数时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
prometheus, rust
领域
observability
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。