Skip to content

Commit

Permalink
Merge pull request #208 from gertzakis/gt-fix-metrics-docs
Browse files Browse the repository at this point in the history
Fix documentation to match the actual metrics
  • Loading branch information
bradh11 authored Sep 5, 2023
2 parents b9bd698 + f06d839 commit f530936
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions docs/user/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,42 +6,42 @@
The Device Lifecycle application has the following metrics included:

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

0 comments on commit f530936

Please sign in to comment.