README Examples error
還沒有人認領這個 Issue。
評估
- 難度
- 1/5
- 預估耗時
- 1 小時以內
- 新手友好度
- 76/100
- Issue 類型
- 文件
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
研究方向
從 repository README 中的 Metrics 範例開始。issue 指出該範例在 instrument 名稱中使用了空格。閱讀 issue 中連結的 OpenTelemetry instrument 名稱語法,接著更新範例,使其使用有效名稱。當 README 不再顯示無效的 instrument 名稱時,工作即告完成。讓 MATLAB 拋出錯誤的建議是另一項範圍更大的變更。
由索引模型根據 Issue 內容生成。
描述
The Metrics example in the repo's readme shows the creation of a counter as follows
m = opentelemetry.metrics.getMeter("My Meter");
c = m.createCounter("My Counter");
When run in Matlab the following error is received.
c = m.createCounter("My Counter");
[Error] File: *\meter.cc:158 Meter::CreateDoubleCounter - failed. Invalid parameters.My Counter . Measurements won't be recorded.
It appears a no-op counter instead of throwing an error.
Per https://opentelemetry.io/docs/specs/otel/metrics/api/?utm_source=kapa#instrument-name-syntax Metric Instrument Names should not contain spaces. The readme should be updated to reflect that, it may also be worthwhile to have matlab throw an error and not create this no-op counter if a name is invalid.
- 主要語言
- MATLAB
- 星號
- 19
- 分支
- 5
- 平均合併
- 1 分鐘
- 30 天內合併 PR
- 2
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
mathworks/OpenTelemetry-MATLAB 的其他 Issue
-
Add support to TRACEPARENT environment variable to buildtool plugin可能已有人在做 @sameagen-MW 於 10 天前認領。 未關閉
mathworks/OpenTelemetry-MATLAB#256 · 2 則留言 · 已指派 1 人 ·
-
enhancement infrastructure
難度 3/5 1-2 天 新手友好度 35/100
-
documentation
難度 3/5 1-2 天 新手友好度 48/100
-
AI Agent example can no longer read pricing information from OpenAI website可能重新可做 @duncanpo 於 210 天前認領,目前沒有進行中的 PR。 未關閉documentation
mathworks/OpenTelemetry-MATLAB#248 · 已指派 1 人 ·
-
test
難度 4/5 3-5 天 新手友好度 45/100
查看 mathworks/OpenTelemetry-MATLAB 的全部 Issue
相似的 Issue
-
census digest: print a denominator for EDGE-FAMILY CARDINALITY VIOLATIONS (did-schema OPEN_WORK #79)未關閉V2
難度 2/5 1-3 小時 新手友好度 78/100
VH-Lab/DID-matlab#399 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
VH-Lab/NDI-matlab#1183 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 85/100
flybywiresim/aircraft#11006 · 1 則留言 ·
維護者通常 2 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 75/100
HenrikBengtsson/R.matlab#61 ·
-
easy first-contributor first-contributors good first issue help wanted matlab up-for-grabs
難度 1/5 1 小時以內 新手友好度 85/100
fork-commit-merge/fork-commit-merge#8442 ·
維護者通常 1 天內回覆