tynany / junos_exporter

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

Add interface description metric and static metrics from JSON description keys #2

Closed slash31 closed 4 years ago

slash31 commented 4 years ago

README updated with description/examples.

Sample output of collector:

# HELP junos_interface_description Interface description keys
# TYPE junos_interface_description counter
junos_interface_description{carrier="Centurylink",circuit_id="123456",interface="ae1.1",type="backbone"} 1
junos_interface_description{carrier="Zayo",circuit_id="ZAYO56789",interface="et-0/0/0",type="internet"} 1
# HELP junos_interface_c_bw User-defined Metric from Description Key
# TYPE junos_interface_c_bw counter
junos_interface_commit_bw{interface="ae1.1"} 1.25e+10
junos_interface_commit_bw{interface="et-0/0/0"} 1.25e+10