Repository navigation
docs: 新增《可观测接入指导》——接入路线选型 - #29
TangJia025 wants to merge 21 commits into
Conversation
按「观测对象」而非「仓库」划分四条接入路线(四语言 SDK / 非四语言 / 上游组件 / 平台作业),给出接入等级 L1~L3、部署级字段注入、暴露与采集口径、 四黄金信号选指标、上线三步验证法与故障速查表。 - 契约定义仍以 spec/ 为准,本文只讲做法 - 非四语言与上游组件部分明确「不 patch 核心、只挂扩展点」 - 链接均指向 main 上已存在的文档,避免悬空引用 Co-Authored-By: Claude Code <noreply@anthropic.com>
Welcome To opensourceways CommunityHey @TangJia025 , thanks for your contribution to the community. Bot Usage ManualI'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. Contact GuideIf you have any questions, please contact the SIG: infratructure , |
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
按评审意见,把原文的「批处理与平台型作业」统一改为 「CI 资源与托管平台 workflow」,明确 D 类对象是 Jenkins / GitHub Actions / CodeArts 流水线与托管平台上的 workflow, 而不是泛指的批处理作业。 Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
按评审意见清空 §2 及之后的内容,只保留标题、§0 三条底线 与 §1 四条接入路线的选型表。 Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
按评审意见删除「接入的三条底线」一节,文档只保留接入路线选型。 Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
- 去掉「非四语言接入」一类(其手段与组件接入相同) - 「CI 资源与托管平台 workflow」拆为「CI 资源」与「CI workflow」两类 - 表下注解改为:workflow 跑在 CI 资源上,资源侧平台采、作业侧自报 Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
按评审意见,B 类只覆盖 Discourse、Etherpad 这类有独立用户入口的上游服务; PostgreSQL / Redis / Nginx 等基础组件不在本文范围,指标由资源层统一采集。 Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
按评审意见把「组件接入」改为「开源软件接入」,与 A「自研微服务接入」对称; 边界注里的「基础组件」同步改为「基础软件」。 Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
四类对象各建一章,每章下分「指标接入」「日志接入」两节, 正文暂留空,待逐章补充。路线不再用 A/B/C/D 编号。 Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
指标接入:部署级字段初始化、业务指标注册、中间件与 /metrics 暴露、 community 请求级覆盖、自检。 日志接入:初始化、msg 常量 + kv 规则、Java 样例配置、请求上下文、 stdout 采集与 LTS 检索、自检。 路线表补充实际服务示例,并补 Go/Java/Python 服务清单。 Co-Authored-By: Claude Code <noreply@anthropic.com>
路线表的典型对象列已给出示例,不再单独展开 24 个服务清单元数据。 Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
1 similar comment
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
配置环境变量:保留四字段表,补 robot-universal-review 的 values 示例 与注入口径;上报代码:初始化、指标注册、中间件、community 覆盖、自检。 Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
同时按评审意见收敛章首表述与配置项说明。 Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
渲染后的页面不显示 fence 的 info string,故在每个代码块上方显式标注语言。 Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
初始化注册表与注册指标都是进程启动一次,上报发生在业务事件时,分开说明。 Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
Go: robot-universal-welcome#86;Python: forum-reply-robot#189; Java: om-webserver#261;Node 暂无自研服务,说明归入开源软件接入路线。 Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
2.2.1 复用 2.1.1 的 OBS_* 配置;2.2.2 按语言给出初始化/输出/上下文/ 写 stdout 四步,并附 Go/Python/Java 示例 PR。 Co-Authored-By: Claude Code <noreply@anthropic.com>
CLA Signature PassTangJia025, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
新增
docs/可观测接入指导.md,面向基础设施各类业务说明接入本套可观测体系的路线。为什么按「观测对象」而不是「仓库」划分
现有文档(
spec/、设计文档、微服务可观测目标)面向的是 obs-sdk 覆盖的 26 个四语言服务。但实际要接的还有:面向用户的开源软件、CI 资源与 CI workflow——它们没有 SDK 可用,却同样需要日志、指标、拨测。本文先给出统一的选型入口。当前内容
路线选型表:
四类对象各建一章,每章下分「指标接入」「日志接入」两节,正文待填:
resolve https://github.com/opensourceways/backlog/issues/1938
🤖 Generated with Claude Code
AI 使用声明
当前 PR 是否有 AI 参与: