iface: expose mode and domain in metrics - #492
Conversation
📝 WalkthroughWalkthroughThe Tip 🧪 Unit Test Generation v2 is now available!We have significantly improved our unit test generation capabilities. To enable: Add this to your reviews:
finishing_touches:
unit_tests:
enabled: trueTry it out by using the Have feedback? Share your thoughts on our Discord thread! Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Add the interface mode as a label to metrics. When the interface is in VRF mode, include the vrf label as before. For other modes (bridge, bond, xc), include a domain label with the name of the parent interface to which this interface is attached. This allows monitoring dashboards to group interfaces by their operating mode and identify which bridge or bond they belong to. Signed-off-by: Robin Jarry <rjarry@redhat.com> Reviewed-by: Christophe Fontaine <cfontain@redhat.com>
7b3b912 to
e676f69
Compare
Add the interface mode as a label to metrics. When the interface is in VRF mode, include the vrf label as before. For other modes (bridge, bond, xc), include a domain label with the name of the parent interface to which this interface is attached.
This allows monitoring dashboards to group interfaces by their operating mode and identify which bridge or bond they belong to.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.