New pattern submission - lambda-cloudwatch-otlp-metrics-sam
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 20/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- aws, python
调研方向
首先审查链接的 pull request #3298 及其 lambda-cloudwatch-otlp-metrics-sam pattern。检查 Python 3.13 Lambda、AWS SAM 配置、权限和 AWS Distro for OpenTelemetry Lambda layer,然后验证文档中记录的端到端部署以及 CloudWatch PromQL 结果。完成的标准是该 pattern 完整、可部署,并且其导出的指标带着预期的值和 labels 到达。
由索引模型根据 Issue 内容生成。
描述
Pattern name: lambda-cloudwatch-otlp-metrics-sam
Pull request: https://github.com/aws-samples/serverless-patterns/pull/3298
Description:
Send custom Lambda metrics to Amazon CloudWatch over OTLP. The function records a counter and a histogram using only the OpenTelemetry metrics API, and the AWS Distro for OpenTelemetry Lambda layer runs a collector that signs each request with SigV4 and forwards it to the CloudWatch OTLP endpoint. The function makes no PutMetricData calls and writes no embedded metric format logs, and the only permission it needs is cloudwatch:PutMetricData.
Compared with embedded metric format there is no per series charge, and the endpoint accepts up to 150 labels per metric against the 30 dimensions allowed by PutMetricData, so high cardinality metrics are much cheaper and richer.
Services used: AWS Lambda, Amazon CloudWatch (OTLP metrics endpoint), AWS Distro for OpenTelemetry Lambda layer.
Language: Python 3.13
Framework: AWS SAM
Level: 300
Tested end to end in a live account: deployed, invoked, confirmed the collector exported without errors, and queried the CloudWatch PromQL endpoint to verify the data points arrived with the expected value and labels. The stack was then deleted.
- 主要语言
- Python
- 星标
- 1.8k
- 派生
- 1.1k
- 平均合并
- 3 天 8 小时
- 30 天内合并 PR
- 16
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws-samples/serverless-patterns 的其他 Issue
-
New pattern submission - lambda-web-pr-previews-nodejs-sam可能已有人在做 @manishh-13 于 1 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
aws-samples/serverless-patterns#3364 ·
维护者通常 2 天内回复
-
New pattern submission - lambda-web-agentcore-nodejs-terraform可能已有人在做 @manishh-13 于 6 天前认领。 未关闭
难度 3/5 半天 新手友好度 22/100
aws-samples/serverless-patterns#3358 ·
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 55/100
aws-samples/serverless-patterns#3345 ·
维护者通常 2 天内回复
-
Omarvio.com未关闭
难度 4/5 3-5 天 新手友好度 42/100
aws-samples/serverless-patterns#3335 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 15/100
aws-samples/serverless-patterns#3331 ·
维护者通常 2 天内回复
查看 aws-samples/serverless-patterns 的全部 Issue
相似的 Issue
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 82/100
selimfirat/pysad#379 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
open-webui/open-webui#32805 ·
维护者通常 1 天内回复
-
fix: [bug description] HTML CVE metric table shows only the last CVE for each product可能已有人在做 @Chris-wh233 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 66/100
ossf/cve-bin-tool#5976 ·
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
gke-labs/kube-agents#3615 ·
维护者通常 1 天内回复
-
deferred
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复