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

Aperta
#529 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@jmwoliver ci sta già lavorando.

Dal 6/11/2026.

  • #530 di @jmwoliver — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.
Lingua principale
R
Stelle
54
Fork
27
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di posit-dev/connectapi

Tutte le issue di posit-dev/connectapi

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.