Skip to content

Metrics

Warning

Metrics will only work with Nautobot Version 1.5.13 and newer.

The Device Lifecycle application has the following metrics included:

# HELP nautobot_lcm_software_compliance_per_device_type Number of devices that have valid/invalid software by device_type
# TYPE nautobot_lcm_software_compliance_per_device_type gauge
nautobot_lcm_software_compliance_per_device_type{device_type="ASR-9903",is_valid="True"} 3.0
nautobot_lcm_software_compliance_per_device_type{device_type="ASR-9903",is_valid="False"} 1.0
nautobot_lcm_software_compliance_per_device_type{device_type="IntelServer",is_valid="True"} 2.0
nautobot_lcm_software_compliance_per_device_type{device_type="IntelServer",is_valid="False"} 2.0
# HELP nautobot_lcm_software_compliance_per_inventory_item Number of devices that have valid/invalid software by inventory item
# TYPE nautobot_lcm_software_compliance_per_inventory_item gauge
nautobot_lcm_software_compliance_per_inventory_item {inventory_item="Cisco-FEX-port1",is_valid="True"} 0.0
nautobot_lcm_software_compliance_per_inventory_item {inventory_item="Cisco-FEX-port1",is_valid="False"} 1.0
# HELP nautobot_lcm_hw_end_of_support_per_part_number Nautobot LCM Hardware End of Support per Part Number
# TYPE nautobot_lcm_hw_end_of_support_per_part_number gauge
nautobot_lcm_hw_end_of_support_per_part_number{part_number="WS-SUP720-3BXL"} 38.0
nautobot_lcm_hw_end_of_support_per_part_number{part_number="dcs-7048-t"} 0.0
nautobot_lcm_hw_end_of_support_per_part_number{part_number="DCS-7150S-24"} 0.0
nautobot_lcm_hw_end_of_support_per_part_number{part_number="DCS-7280CR2-60"} 0.0
nautobot_lcm_hw_end_of_support_per_part_number{part_number="veos"} 0.0
nautobot_lcm_hw_end_of_support_per_part_number{part_number="CSR1000V"} 0.0
# HELP nautobot_lcm_hw_end_of_support_per_site Nautobot LCM Hardware End of Support per Site
# TYPE nautobot_lcm_hw_end_of_support_per_site gauge
nautobot_lcm_hw_end_of_support_per_site{site="ams01"} 1.0
nautobot_lcm_hw_end_of_support_per_site{site="ang01"} 1.0
nautobot_lcm_hw_end_of_support_per_site{site="atl01"} 1.0
nautobot_lcm_hw_end_of_support_per_site{site="atl02"} 1.0
nautobot_lcm_hw_end_of_support_per_site{site="azd01"} 1.0
nautobot_lcm_hw_end_of_support_per_site{site="bkk01"} 1.0
nautobot_lcm_hw_end_of_support_per_site{site="bre01"} 1.0
nautobot_lcm_hw_end_of_support_per_site{site="can01"} 1.0
nautobot_lcm_hw_end_of_support_per_site{site="cdg01"} 1.0
nautobot_lcm_hw_end_of_support_per_site{site="cdg02"} 1.0
nautobot_lcm_hw_end_of_support_per_site{site="del01"} 1.0
nautobot_lcm_hw_end_of_support_per_site{site="den01"} 1.0
nautobot_lcm_hw_end_of_support_per_site{site="dfw"} 0.0
nautobot_lcm_hw_end_of_support_per_site{site="dfw01"} 1.0
nautobot_lcm_hw_end_of_support_per_site{site="dfw02"} 1.0
nautobot_lcm_hw_end_of_support_per_site{site="dxb01"} 1.0

Enabling Metrics

Metrics are not exposed by default. Metric exposition can be toggled with the METRICS_ENABLED configuration setting which exposes metrics at the /metrics HTTP endpoint, e.g. https://nautobot.local/metrics.

Nautobot Configuration Guide for Prometheus Metrics

Please follow this Guide to extend Nautobot Lifecycle metric data.