add complete documentation
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- python
研究方向
首先定位 write_to_textfile() 並檢查它如何處理 /dev/stdout 的情況。確定在保留現有檔案輸出的同時將指標直接寫入 stdout 時的預期行為,然後驗證兩條輸出路徑都能按預期運作。issue 中未指定任何檔案或測試。
由索引模型根據 Issue 內容生成。
描述
Hey.
It would be nice if there was something like a write_to_stdout() function, or if write_to_textfile() would somehow allow writing to stdout.
For debugging that would seem to be much more helpful. Also, distros may have their own unified means of collecting the .prom files and thus even in production it may make sense to let a program simply write the metrics to stdout.
Cheers,
Chris.
PS: Using /dev/stdout doesn't work, as it tries to write it's tmpfile there.
- 主要語言
- Python
- 星號
- 4.4k
- 分支
- 879
- 平均合併
- 8 天 4 小時
- 30 天內合併 PR
- 1
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
prometheus/client_python 的其他 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 70/100
prometheus/client_python#1177 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 45/100
prometheus/client_python#1210 ·
-
難度 2/5 1-3 小時 新手友好度 58/100
prometheus/client_python#1199 · 1 個 reaction ·
-
難度 5/5 一週以上 新手友好度 35/100
prometheus/client_python#1176 ·
-
難度 1/5 1-3 小時 新手友好度 52/100
prometheus/client_python#1126 · 2 則留言 ·
查看 prometheus/client_python 的全部 Issue
相似的 Issue
-
adr
難度 2/5 1-3 小時 新手友好度 72/100
kristofdegrave/homeassistant-smart-charging#1607 ·
維護者通常 1 天內回覆
-
namespace operations
難度 2/5 1-3 小時 新手友好度 64/100
EclipseFdn/open-vsx.org#13665 ·
維護者通常 1 天內回覆
-
doc good first issue help wanted
難度 2/5 1-3 小時 新手友好度 68/100
collective/icalendar#1865 · 2 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
canonical/opentelemetry-collector-operator#409 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 85/100
mozilla/addons-release-tests#1243 ·
維護者通常 1 天內回覆