Avoid input parsing when provider not enabled

未關閉
#258 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
45/100
Issue 類型
重構
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
observability-sre
領域
observability

研究方向

The payload names no files. Start from the getTracer and startSpan entry points the issue mentions, and find where input parsing and validation run before the check for a configured provider. Done means the disabled path returns early without parsing or validating, with existing tests still passing and the behaviour when a provider is set unchanged.

由索引模型根據 Issue 內容生成。

描述

enhancement performance

When telemetry is turned off (e.g. no global TracerProvider is set), and getTracer or startSpan is called, the inputs are still parsed and validated. Avoid parsing and validating input if telemetry disabled to optimize performance when turned off.

主要語言
MATLAB
星號
21
分支
5
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

mathworks/OpenTelemetry-MATLAB 的其他 Issue

查看 mathworks/OpenTelemetry-MATLAB 的全部 Issue

相似的 Issue

更多 MATLAB Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。