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 摘要。