Avoid calling C++ code in getTracer or startSpan when telemetry is disabled
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- cpp
调研方向
The issue names getTracer and startSpan and asks whether they can skip the C++ call through the MEX layer when no global TracerProvider is set. Start by tracing those two entry points to find where the MATLAB code decides telemetry is disabled and where it crosses into C++. Done means the disabled path returns a no-op tracer or span without calling C++, and the existing tests still pass.
由索引模型根据 Issue 内容生成。
描述
When telemetry is disabled, for example no TracerProvider is set as the global instance, see if there is a way to avoid calling C++ at all. With telemetry disabled, the resulting tracer or span are non-recording and no-ops anyways. If we can avoid calling C++ in those case altogether it will eliminate the time spent in calling through the MEX layer, and therefore optimize the performance.
- 主要语言
- MATLAB
- 星标
- 21
- 派生
- 5
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mathworks/OpenTelemetry-MATLAB 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 76/100
-
enhancement performance
难度 3/5 1-2 天 新手友好度 45/100
-
Add support to TRACEPARENT environment variable to buildtool plugin可能重新可做 @sameagen-MW 于 36 天前认领,目前没有进行中的 PR。 未关闭
mathworks/OpenTelemetry-MATLAB#256 · 2 条评论 · 已指派 1 人 ·
-
enhancement infrastructure
难度 3/5 1-2 天 新手友好度 35/100
-
documentation
难度 3/5 1-2 天 新手友好度 48/100
查看 mathworks/OpenTelemetry-MATLAB 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 86/100
MohammadRaziei/ctoon#12 ·
-
easy first-contributor first-contributors good first issue help wanted matlab up-for-grabs
难度 1/5 1 小时以内 新手友好度 95/100
fork-commit-merge/fork-commit-merge#8766 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
UniprJRC/DSwithMATLAB#253 ·
-
area: math-chaos priority: P1 size: S type: docs
难度 2/5 1-3 小时 新手友好度 88/100
ibra-kdbra/Math-Problems#309 ·
-
难度 2/5 1-3 小时 新手友好度 78/100