"error": "unable to start, otelcol state is Closed"

未关闭
#2,531 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

@yuminn-k 已经在做这个了。

开始于 2026年11月9日。

  • #2735 来自 @yuminn-k —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
冷清
技术栈
aws, go

调研方向

首先定位 lifecycle.manager 扩展的启动路径以及对 otelcol Closed 状态的处理。使用部署日志和报告的 Lambda 初始化失败来调查为什么此服务会进入该状态,而其他已迁移的服务不会。完成的标准是该失败可以复现或得到解释,并且扩展能够在部署期间成功启动。

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

描述

bug go

We deployed the changes to production, and during the application deployment we encountered the following error:

2026-07-01T11:40:51.875Z {"level": "warn", "ts":1782906051.8750505,"logger":"lifecycle.manager", "msg": "Failed t...}

{
"level": "warn",
"ts": 1782906051.8750505,
"logger": "lifecycle.manager",
"msg": "Failed to start the extension",
"error": "unable to start, otelcol state is Closed"
}

2026-07-01T11:40:51.875Z INIT_REPORT Init Duration: 262.80 ms Phase: init Status: error Error Type: Extension....
INIT_REPORT Init Duration: 262.80 ms Phase: init Status: error Error Type: Extension. InitError

Although we have done Log Migration in other services as well such as Beat and Call Masking Services but only for this service did we face this error.

Attached here is the screenshot of the Exact Logs from the Time of Deployment :-

Image
主要语言
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 摘要。