Skip to content

History / bgp persist

Revisions

  • docs: convert plugin examples from external { use } to internal { use } Match the new `internal` keyword added in ze main. Built-in plugins are now declared with `plugin { internal <name> { use <builtin> } }` instead of the ambiguous `external { use }` form. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @thomas-mangin thomas-mangin committed May 30, 2026
  • Document plugin-owned Prometheus metrics per plugin Add a Metrics section to each of the six plugin pages whose plugin registers its own counters and gauges through ConfigureMetrics. Each section lists the exact metric names, types, and meanings taken from the plugin source (not invented). - bgp-rib: ze_rib_routes_in/out_total, per-peer vectors, per-peer/ family insert/withdrawal counters, plus attribute-pool stats. Also adds a short Route replay on reconnect note pointing at the three-bug fix from the recent pass (direction routing, missing WireUpdate, text-codec format mismatch). - bgp-watchdog: peers_up, route_announcements_total, route_withdrawals_total. - bgp-rpki: vrps_cached, sessions_active, validation_outcomes_total{result}. - bgp-persist: routes_stored, peers_tracked, route_replays_total. - fib-kernel: routes_installed, route_installs/updates/removals_total, errors_total{operation}. - sysrib: routes_best, route_changes_total{action}, events_received_total. go-plugins.md, plugins.md, and telemetry.md: add bgp-rib to the list of plugins that ship ConfigureMetrics (was previously listed as five, now six). All metric names verified against register.go / *.go sources. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @thomas-mangin thomas-mangin committed Apr 11, 2026
  • Update plugin config to use 'use' keyword for built-in plugins Replace 'run "ze plugin <name>"' with 'use <name>' across all wiki pages (46 files). The 'use' keyword is for built-in (in-process) plugins; 'run' is now reserved for external process plugins. Updated system.md plugin section to document both keywords. Based on main@80b7b7da (feat: add 'use' keyword for built-in plugins). Added .source-commit to track the codebase commit this wiki is synced to. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @thomas-mangin thomas-mangin committed Apr 8, 2026
  • Flatten wiki to root directory for GitHub wiki compatibility GitHub wiki resolves pages by filename in the root directory only. Moved all 123 .md files from subdirectories to root. Renamed configuration/interfaces.md to configuration-interfaces.md to avoid collision with interfaces/interfaces.md. Fixed 8 image paths. Subdirectories are now empty (images/ retained for assets). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @thomas-mangin thomas-mangin committed Apr 8, 2026