Repository navigation
fix(daemon): the telemetry take is not journaled (#287) - #347
Merged
Merged
Conversation
The requester takes a lane daemon's telemetry lines every 30 seconds
with POST /v1/telemetry/take. The audit layer journaled it ("take the
telemetry lines by an unknown client"), which pushed the lane's real
changes out of its 500-entry journal within about four hours, and its
request log line became the next take's telemetry. The take is a read
that drains a buffer, not a change: the audit layer leaves it out.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A lane on a node showed "take the telemetry lines by an unknown client" in its Activity every 30 seconds: the requester's
POST /v1/telemetry/take(remote.rs,follow_telemetry) went through the lane daemon's audit layer, which runs as a main tree there.What it cost:
requestdiag line, which the next take relayed to the pool's collector: one self-describing line per remote lane every 30 seconds.Change:
audited()inapi.rsleaves the take out, likeGET/HEAD; a unit test,docs/dashboard-api.md(journal row) and the changelog follow. No card point: it keeps the journal to what ADR-0067 says it holds. Entries already journaled age out; older node daemons keep journaling until they are updated.🤖 Generated with Claude Code