get_procs() docs incorrectly say results are limited to the responding HA node

オープン
#529 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@jmwoliver がすでに取り組んでいます。

2026年11月6日 から。

  • #530 @jmwoliver による — オープン

評価

この 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, and heartbeat are the last values reported by each process and can be stale, or NA if 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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

posit-dev/connectapi のほかの issue

posit-dev/connectapi の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。