perf(server): idle servers no longer scan every process every 5 seconds (#19399)
Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
8e018ff91f
commit
cdba9a038e
4 files changed
+130
-21
No files matched your search
@@ -8,9 +8,11 @@ protocol. A missing or failed collector leaves the server running.
|
||||
|
||||
## Collection cost
|
||||
|
||||
The native child owns sampling and bounded in-memory history. The server requests
|
||||
continuous snapshots only while diagnostics has live subscribers and fetches
|
||||
history on demand. Consuming host power for background scheduling must not retain
|
||||
The native child owns sampling and bounded in-memory history. It samples on a timer
|
||||
only while diagnostics has live subscribers. With none, the server sends a sample
|
||||
interval of 0 and the child samples only on request, so an idle server never walks
|
||||
the process table. History therefore covers only time with a live subscriber, plus
|
||||
on-demand samples. Consuming host power for background scheduling must not retain
|
||||
live diagnostics. There is no telemetry database or recurring shell-probe fallback.
|
||||
|
||||
History has independent bounds for age, snapshot count, process rows, and retained
|
||||
|
||||
Reference in new issue
Block a user