Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

fix(observability): pin one telemetry snapshot per Logs and Trace response

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
go

调研方向

Start by locating the Logs and Trace response entry points and the existing telemetry statement/index, cache-acknowledgement, and contribution reads. Add deterministic tests that publish, compact, or retain telemetry between response stages, then verify one file set across entries, counts, and trace/log sections; also check cancellation cleanup, publisher progress, and the native and race suites.

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

描述

The whole-PR review of #272 identified a low-severity, pre-existing response consistency gap outside its five inline findings: https://github.com/labstack/fanout/pull/272#pullrequestreview-5386440469 .

Logs queries entries and histogram separately. Trace queries a candidate, reads its index, and fetches related logs in separate snapshots. A telemetry publication between those operations can make sections of the same response describe different active file sets.

Pin one bounded telemetry snapshot for every statement/index read that contributes to a single Logs or Trace response. Read cache acknowledgements and contributions transactionally under that snapshot; preserve immediately visible uncached files, exact clipped windows, redaction, cancellation and publisher progress. Define transaction/lock ownership once rather than adding retries or snapshot fallbacks.

Acceptance: deterministic tests publish, compact or retain telemetry between response stages and prove entries/counts and trace/log sections describe one file set. Cancellation releases all resources; publishers still progress under the existing reader grace period; the full native and race suites pass.

主要语言
Go
星标
6
派生
0
平均合并
2 小时 25 分钟
30 天内合并 PR
25

环境准备

从这里开始

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

labstack/fanout 的其他 Issue

查看 labstack/fanout 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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