Docs: show how Logger and Metrics telemetry appears in CloudWatch Omni

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

维护者通常 1 天内回复

@leandrodamascena 已经在做这个了。

开始于 2026年10月28日。

  • #8693 来自 @leandrodamascena —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
35/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
停滞
技术栈
aws, python
领域
documentation

调研方向

Read the existing Logger, Metrics, and Tracer documentation sections under Observability or Advanced, then review linked issue #7003 for the OpenTelemetry context. Add the requested CloudWatch Omni subsections: a Logger example and SQL query, a Metrics EMF example, and a short Tracer note. The work is complete when all three pages explain how their telemetry appears in Omni; linked pull request #8693 is already open.

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

描述

documentation logger metrics triage
What were you searching in the docs?

How Powertools telemetry shows up in CloudWatch Omni, the new unified observability experience built on CloudWatch.

Is this related to an existing documentation section?

Logger and Metrics, with a short note in Tracer.

How can we improve?

Omni reads the telemetry that is already in CloudWatch, so everything the Logger and Metrics utilities emit is there with no extra setup: structured JSON logs land in the dataset, EMF becomes CloudWatch metrics, and fields like service, correlation_id and xray_trace_id are what the correlation and the context graph work with. Nobody can tell that from our docs today.

I'd like one small section in each page:

  • Logger: what a Powertools log line looks like once queried in an Omni space, which standard keys matter for correlation, and a sample SQL query over the dataset filtering by service and correlation_id.
  • Metrics: the EMF payload turning into a metric that an Omni alert or dashboard can use, with service as the dimension that ties it to the logs.
  • Tracer: a short note that X-Ray traces are available through Transaction Search, and that Omni is OpenTelemetry-first, pointing to #7003 for the OTel discussion.

Screenshots from a real space would help, I can provide them. No code changes.

Got a suggestion in mind?

Keep it as subsections under the existing "Observability" or "Advanced" areas of each page rather than a new page, Omni is a consumer of what we already produce.

Acknowledgment
  • I understand the final update might be different from my proposed suggestion, or refused.
主要语言
Python
星标
3.3k
派生
511
平均合并
3 天 4 小时
30 天内合并 PR
98

环境准备

从这里开始

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

aws-powertools/powertools-lambda-python 的其他 Issue

查看 aws-powertools/powertools-lambda-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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