[Feature Request] Prometheus-based SDK Metrics Dashboard: Metric Names Out of Sync With Documentation & Exports

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

@keerthi7788 已经在做这个了。

开始于 2026年9月15日。

  • #83 来自 @keerthi7788 —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
prometheus
领域
observability

调研方向

首先找到示例 dashboard 的 JSON,并将每个 Prometheus 查询与 SDK 输出的指标名称进行比较,包括计数器的 *_total 后缀。审查所有面板,然后检查 README 是否需要 exporter 专属的指导。完成的标准是:导入的 dashboard 查询当前指标,并且其面板显示数据。

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

描述

enhancement

After importing the sample SDK metrics dashboard, most panels show “no data” because the JSON uses old metric names that don’t match what the SDK actually emits.

For example, Prometheus exposes temporal_request_failure_total, but the dashboard queries temporal_request_failure. This mismatch applies to many metrics, not just this one.

Impact

Panels like “RPC Requests vs Failures” and others are empty right after import.
Users have to manually inspect and fix metric names across the dashboard.

Requested Fix

Audit and update all metric names in the JSON to match current SDK output (e.g., *_total counters).
Optionally provide separate JSONs or clear README notes for:

OTEL exporter metric names
Prometheus exporter metric names

主要语言
没有语言数据
星标
140
派生
51
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

temporalio/observability-examples 的其他 Issue

查看 temporalio/observability-examples 的全部 Issue

相似的 Issue

更多 Observability & SRE Issue

把新 issue 发到你的邮箱

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