tynany / junos_exporter

Prometheus Exporter for Junos Devices
MIT License
19 stars 7 forks source link

adding local interface and routing instance information to bgp labels #6

Closed mattschwen closed 3 years ago

mattschwen commented 3 years ago
# TYPE junos_bgp_peer_elapsed_time_seconds gauge
junos_bgp_peer_elapsed_time_seconds{address_family="default.inet.0",local_interface="et-0/0/0.0",peer="1.1.1.1"} 0
# TYPE junos_bgp_peer_flaps counter
junos_bgp_peer_flaps{address_family="default.inet.0",local_interface="et-0/0/0.0",peer="1.1.1.1"} 0
# TYPE junos_bgp_peer_input_messages counter
junos_bgp_peer_input_messages{address_family="default.inet.0",local_interface="et-0/0/0.0",peer="1.1.1.1"} 0
# TYPE junos_bgp_peer_output_messages counter
junos_bgp_peer_output_messages{address_family="default.inet.0",local_interface="et-0/0/0.0",peer="1.1.1.1"} 0
# TYPE junos_bgp_peer_rib_accepted_prefixes gauge
junos_bgp_peer_rib_accepted_prefixes{address_family="default.inet.0",local_interface="et-0/0/0.0",peer="1.1.1.1"} 0
# TYPE junos_bgp_peer_rib_active_prefixes gauge
junos_bgp_peer_rib_active_prefixes{address_family="default.inet.0",local_interface="et-0/0/0.0",peer="1.1.1.1"} 0
# TYPE junos_bgp_peer_rib_advertised_prefixes gauge
junos_bgp_peer_rib_advertised_prefixes{address_family="default.inet.0",local_interface="et-0/0/0.0",peer="1.1.1.1"} 0
# TYPE junos_bgp_peer_rib_received_prefixes gauge
junos_bgp_peer_rib_received_prefixes{address_family="default.inet.0",local_interface="et-0/0/0.0",peer="1.1.1.1"} 0
# TYPE junos_bgp_peer_rib_suppressed_prefixes gauge
junos_bgp_peer_rib_suppressed_prefixes{address_family="default.inet.0",local_interface="et-0/0/0.0",peer="1.1.1.1"} 0
# TYPE junos_bgp_peer_route_queue gauge
junos_bgp_peer_route_queue{address_family="default.inet.0",local_interface="et-0/0/0.0",peer="1.1.1.1"} 0
# TYPE junos_bgp_peer_up gauge
junos_bgp_peer_up{address_family="default.inet.0",local_interface="et-0/0/0.0",peer="1.1.1.1"} 1