Slow start-up?

未关闭
#263 38 条评论 24 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
aws

调研方向

未指定源文件或测试。先从此 issue 中的冷启动测量和链接的 AWS X-Ray 讨论开始,然后确定涉及哪种 Lambda layer 实现和 runtime。完成这项工作需要明确的性能目标、与 X-Ray 的可复现比较,以及达成一致的缩减或文档化计划。

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

描述

I tried out migrating away from AWS's X-Ray SDK for Lambda, but the Open Telemetry Lambda layer appears to add a significant amount to cold start time, which I didn't expect.

It was suggested I cross post, since this is actually the repo with the layers in.

https://github.com/aws-observability/aws-otel-lambda/issues/228#issuecomment-1193215390

Here's the data for reference:

Screenshot 2022-07-24 at 01 19 18

I don't see any documentation on performance, comparison to X-Ray performance etc.

Is there a plan to reduce this? I didn't expect to have to add a Lambda layer to get OpenTelemetry working, I thought it would be included in the Lambda runtime as a first class thing, rather than being a sort-of add-on.

主要语言
Go
星标
433
派生
249
平均合并
1 天 12 小时
30 天内合并 PR
39

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

open-telemetry/opentelemetry-lambda 的其他 Issue

查看 open-telemetry/opentelemetry-lambda 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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