Repository navigation
docs(events-export): plan TODO-SOON 14 - the events export path (EXM-EXU) - #391
Merged
Merged
Conversation
…EXU) The plan for the last open piece of the events arc: the five parsed rtnetlink event families (link, addr, route, neigh, rule) leave the process. Everything upstream of an export exists in the tree - the parsers (ParseRtnetlinkEvent, the five families), the listener (pkg/rtnlmon, the 13 close), the first consumer (-localityEvents), the destination registry, the record path's own envelope thresholds, the ClickHouse DDL + protobufList + kafka + MV, and the clickhouse-pipeline self-test flavor. What is missing is 14's own list: the proto (the 2100-2500 blocks - 14 names four; fib_rule_hdr -> 2500 is the fifth, added after 14 was written), the ClickHouse table + MV, and a destination whose batching and flush policy is measured, not copied. The arc's shape: - EXM: the constants measured from the committed event corpora (the 7_1_4 boot flood, the 66 ev rows, the 15 crafted monitor files) - the flush interval, the rows/bytes caps, the queue depth - with a test that pins the measured shape. The record path flushes on rows, bytes and the poll cycle; events have no cycle, so the time interval is the one genuinely new trigger. - EXP: proto/xtcp_netlink_events/v1/ - a message per family, kernel member spelling, presence as an explicit has_ bool (the events' render semantics depend on presence; the record proto never needed it), a NetlinkEvent wrapper with a oneof, and the Envelope batch container; round-tripped over every committed event pcap and crafted blob. - EXD: a second rtnlmon consumer behind -eventsEnable/-eventsDest (off by default, the -localityEvents precedent), flushing on rows, bytes, time or shutdown through the existing Destination registry unchanged; the self-test's rtnl flavor grows the file-destination gate and reads the boot's own numbers back. - EXC: the events table + MV on their own topic (the record's topic untouched), the ProtobufList row type, the errors MV, and the events epoch constant the self-test reads from the Go source (the 11 lesson). - EXU: 14 RESOLVED, the two deferral passages unwound (coverage- expansion's "its own design document", coverage-status's "unresolved and deliberately unscoped"), the versioning rules extended. Index rows added; TODO-SOON 14 carries the pointer. Gates: the docs check (66 documents now), test-goip-docs, netlink-audit, nix-fmt. Next free evidence: V403, DOC038. 🤖 Generated with [pi](https://github.com/badlogic/pi-mono)
This was referenced Dec 5, 2026
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.
What
The plan for §14 — the last open piece of the events arc: the five parsed rtnetlink event families (link, addr, route, neigh, rule) leave the process. Plan-only PR: no code, no captures;
docs/netlink/events-export.md+events-export-status.md, the index rows, and the §14 pointer.Grounding
Everything upstream of an export exists in the tree, each cited in the plan:
ParseRtnetlinkEvent, the five families), the listener (pkg/rtnlmon, the §13 close), the first consumer (-localityEvents);clickhouse-pipelineself-test flavor.What is missing is §14's own list: the proto (the 2100–2500 blocks — §14 names four;
fib_rule_hdr→ 2500 is the fifth, added after §14 was written), the ClickHouse table + MV, and a destination whose policy is measured, not copied.The arc
proto/xtcp_netlink_events/v1/— a message per family (kernel member spelling, presence as an explicithas_bool), theNetlinkEventwrapper + oneof, theEnvelope; round-trip over every committed event pcap and crafted blobrtnlmonconsumer behind-eventsEnable/-eventsDest(off by default), flushing on rows, bytes, time or shutdown; the self-test's rtnl flavor grows the file-destination gatextcptopic untouched), the epoch constant the self-test reads from the Go source (the §11 lesson)Gates
Docs check (66 documents now),
test-goip-docs,netlink-audit,nix-fmt— green.🤖 Generated with pi