Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 1831129

Summary: [RFE] [Debugging] Enable OVN stats to be collected by Prometheus
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Joe Talerico <jtaleric>
Component: OVNAssignee: OVN Team <ovnteam>
Status: CLOSED WONTFIX QA Contact: Jianlin Shi <jishi>
Severity: high Docs Contact:
Priority: high    
Version: RHEL 7.6CC: avishnoi, ctrautma, dcbw, mmichels
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-28 16:45:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joe Talerico 2020-05-04 17:15:52 UTC
Description of problem:

Expose some OVN/OVS metrics to be captured by Prometheus

Some ideas:
- Number of logical switches
- Number of flows
- RAFT information

Comment 1 Dan Williams 2020-05-04 20:50:37 UTC
fwiw there are some projects that connect the two, like https://github.com/forward53/ovn_exporter

Comment 2 Joe Talerico 2020-09-29 17:21:11 UTC
Additionally capture the sbdb/nbdb election metrics...  capture how often leader elections happen between the masters.

Comment 3 Mark Michelson 2022-10-05 18:45:31 UTC
Hi, I'm checking if this issue is still relevant. It's been a couple of years since it was opened, and the ecosystem with OVN and OCP has changed quite a bit during that time. I know there are no prometheus-specific things in OVN itself, but I wasn't sure whether OCP had implemented a way to expose that information or if some other method had been devised. Thanks.

Comment 4 Mark Michelson 2023-07-28 16:45:14 UTC
I am closing this issue. There is a new effort underway between the OVN team and Prometheus team to get data exported. The new effort supersedes this old issue.

Comment 5 Red Hat Bugzilla 2023-11-26 04:25:04 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days