Skip to content

补全 Cortex observability surface,包括本地指标与结构化日志 #16

@xiaoland

Description

@xiaoland

摘要

Cortex observability 仍然缺少 local metrics,也仍然存在 log shape 问题。
规范性的 payload 应当位于结构化 event-body 字段中,而不是以字符串化 attributes 的形式出现。

动机

如果没有目标中的 metrics 与结构化 event bodies,observability surface 就会更难查询、更难检查,也更难在其之上构建工具。

规格 / 验收标准

  • 存在 cortex organ output 的 local metrics。
  • 规范性的 payload 位于结构化 event-body 字段中,而不是字符串化 attributes 中。
  • log shape 与目标 observability contract 对齐。

技术约束

  • 让 observability 建立在 runtime-owned semantics 之上。
  • 当需要结构化字段时,不要退化成仅字符串的 payload。

向后兼容

除非明确要求,否则不需要。

参考

  • 来源于 TODO.mdtasks/todo-issue-migration/RESULT.md
  • 相关 umbrella:可观测性 #9

Metadata

Metadata

Assignees

No one assigned

    Labels

    o11yObservability and telemetrytype:featureNew capability or user-facing featureunit:coreBeluna core runtime and domain logic

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions