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
Add OVS database server metrics collection support
This change adds support for collecting metrics from OVS database
servers (ovsdbserver) in both northbound (NB) and southbound (SB)
configurations. The implementation adds two new scrape configuration
functions that discover OVS DB server metrics services using label
selectors and automatically configure Prometheus to scrape them.
Changes include:
- New createOVSDBServerNBScrapeConfig() function for NB database metrics
- New createOVSDBServerSBScrapeConfig() function for SB database metrics
- Updated service watch function to trigger reconciliation when OVS DB
server services change
- Both functions follow existing patterns and use "ovsdbserver-nb" and
"ovsdbserver-sb" service labels respectively
This enables comprehensive monitoring of the OVN database layer,
complementing the existing OVN Northd and Controller metrics collection.
Depends-On: openstack-k8s-operators/openstack-operator#1609
Resolves: https://issues.redhat.com/browse/OSPRH-12569
Assisted-by: Claude
Signed-off-by: Miguel Lavalle <[email protected]>
0 commit comments