You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3f59be1
Browse filesBrowse the repository at this point in the historyBrowse files
feat(dataplane): a configurable supervisor poll, and telemetry as of the scrape
Worker counters reached telemetry two hops late: the driver's supervisor
collected them once a second, and the telemetry publisher copied them
into the exporter on a second-long ticker of its own. A scrape could see
counts two seconds old, so anything checking them -- a test after a
burst of traffic, the flowgen runner against a live gateway -- had to
wait that long for them to settle.
- `--supervisor-poll-ms` (10 ms to 10 s, default 1000) sets how often
the supervisor collects the workers' counters, for either driver. The
rate it reports is now over the time actually elapsed since the last
poll rather than the nominal period, and the driver status says what
the period is.
- The `/metrics` handler publishes the pipeline's, the flow table's and
the workers' counts before it renders, instead of a ticker doing so
between scrapes: a scrape sees them as of the scrape, the workers' as
of the supervisor's last poll.
The watchdog's pat and check periods are unchanged: they are about
liveness, not freshness.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Daniel Noland <daniel@githedgehog.com>
0 commit comments