Including more instrumentations (python)

未关闭
#1,826 4 条评论 1 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 2 天内回复

@wpessers 已经在做这个了。

开始于 2025年11月27日。

评估

这个 Issue 还没有评估数据。

描述

enhancement python

There are times when we need to include more instrumentations than is included in the layer. For example if we need to have asyncio and threading these are not in the layer and require us to have to carry a custom build of the layer.

It would be nice if there was a way to have all of the instrumentations included in the layer but only a default set of instrumentations (current list) enabled.

Then allowing for ENV override to enable more libraries. Or enabling all but disable through the normal SDK env var of OTEL_PYTHON_DISABLED_INSTRUMENTATIONS. We actually use this method today to disable instrumentations in our lambdas that don't use certain libraries and so quiets the errors at startup.

Without this, is there a better way to include just the extra libraries we need that doesn't require building the whole layer?

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