bird_exporter icon indicating copy to clipboard operation
bird_exporter copied to clipboard

Labels from Protocol Description work only for IPv4

Open valcryst opened this issue 2 years ago • 1 comments

Hi, we have activated the -format.description-labels flag and added descriptions to our connections. It works very well but only for everything with ip_version="4" but not for IPv6.

Kindly Regards

valcryst avatar Aug 12 '21 10:08 valcryst

I tested a little bit with different procotols and it seems to only affect BGP so far.

bird_protocol_changes_withdraw_export_accept_count{export_filter="REJECT",fancy_name="(intern) OSPF IPv4 pfSense",import_filter="(unnamed)",ip_version="6",name="pfsense_cluster_v6",proto="OSPFv3"} 0 bird_protocol_changes_withdraw_export_accept_count{export_filter="REJECT",fancy_name="(intern) OSPF IPv6 pfSense",import_filter="(unnamed)",ip_version="4",name="pfsense_cluster_v4",proto="OSPF"} 0

It is working for OSPF.

bird_protocol_changes_update_import_reject_count{export_filter="as6695_ixp_export_policy_fra_ipv6",import_filter="as6695_ixp_import_policy_fra_ipv6",ip_version="6",name="ixp_as6695_fra_v4_1",proto="BGP"} 0 bird_protocol_changes_update_import_reject_count{export_filter="as6695_ixp_export_policy_fra_ipv4",fancy_name="(fra) DE-CIX Frankfurt 1",import_filter="as6695_ixp_import_policy_fra_ipv4",ip_version="4",name="ixp_as6695_fra_v4_1",proto="BGP"} 0

While BGP looks like this. The Tag "fancy_name" is from the description.

valcryst avatar Aug 12 '21 10:08 valcryst