summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRitika Chopra <r.chopra@vyos.io>2026-07-17 19:44:59 +0300
committerRitika Chopra <r.chopra@vyos.io>2026-10-22 15:18:29 -0700
commitf712f1de0ac26fa2b9e3de047ae96ad44dea8322 (patch)
treed6178bde3c4615988268f17ef147b7d4a3bf78b6 /python
parent93b00d0f82c9aca7a3d5c5dddb704a263b92190b (diff)
downloadvyos-1x-f712f1de0ac26fa2b9e3de047ae96ad44dea8322.tar.gz
vyos-1x-f712f1de0ac26fa2b9e3de047ae96ad44dea8322.zip
T8382: Add VPP Prometheus exporter support
Integrate the VPP Prometheus exporter with VyOS configuration. Upon being configured via VyOS CLI, the exporter reads VPP statistics and exposes selected metrics at /metrics endpoint for Prometheus to scrape. VPP exporter service can co-exist with node-exporter (both independently) to export VPP and kernel stats respectively. The implementation provides functionality: CLI configuration for the exporter, including its listen port, VRF, and selectable stat groups: interfaces, err, buffer-pools, system, workers, nodes, memory, nat44, and acl. Default stat groups of interfaces, err, buffer-pools, system, workers, and memory. Explicitly selecting any groups replaces that default set. The exporter is opt-in: configuring vpp-exporter enables and starts it. Removing the configuration stops the exporter independently of VPP. While configured, it follows VPP’s lifecycle and restarts when its own configuration changes. Validation that requires VPP to be configured before configuring the exporter, and rejects VPP removal while the exporter remains configured. Node metrics through the nodes group when VPP’s per-node-counters setting is enabled. Selecting nodes without that setting produces a warning. Removing the exporter leaves per-node-counters unchanged. VRF support for the exporter service. Co-authored-by: @inetman28 PR-Ref: #5339 (Addressed review comments, removed regex CLI options)
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions