get_procs() docs incorrectly say results are limited to the responding HA node
评估
这个 Issue 还没有评估数据。
描述
The documentation for get_procs() (R/get.R) says it "only returns data for the server that responds to the request (i.e. in a Highly Available cluster)".
That no longer matches Connect's behavior. The underlying endpoint, GET /__api__/metrics/procs, builds its list from the shared database (active, non-finalized jobs plus the latest reported job metrics), so it returns processes across all nodes in an HA cluster and across execution modes (including off-host / Kubernetes).
Suggested change
- Remove the HA limitation note from the
get_procs()docs. - Optionally replace it with accurate caveats:
cpu_current,ram, andheartbeatare the last values reported by each process and can be stale, orNAif no heartbeat has been received yet.- Processes that have recently ended but haven't been finalized may still appear.
- The endpoint is internal/unversioned and may change.
- 主要语言
- R
- 星标
- 54
- 派生
- 27
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
posit-dev/connectapi 的其他 Issue
-
get_procs() @return docs don't match returned columns, and pid column is the row index可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 67/100
posit-dev/connectapi#532 ·
-
难度 1/5 1 小时以内 新手友好度 62/100
posit-dev/connectapi#249 ·
-
Add get_processes() to wrap v1/system/processes可能已有人在做 @jmwoliver 今天认领。 未关闭
posit-dev/connectapi#531 · 已指派 1 人 ·
-
难度 3/5 1-2 天 新手友好度 65/100
posit-dev/connectapi#527 ·
-
难度 5/5 一周以上 新手友好度 35/100
posit-dev/connectapi#526 · 1 个 reaction ·
查看 posit-dev/connectapi 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
Huber-group-EMBL/Rarr#294 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 1/5 1 小时以内 新手友好度 82/100
-
Windows source builds fail: cmdstanpy 1.3.0 downloads Rtools40 from a retired CRAN URL (HTTP 404)未关闭
难度 2/5 1-3 小时 新手友好度 67/100