nautobot / nautobot-app-device-onboarding

Device Onboarding Plugin for Nautobot
https://docs.nautobot.com/projects/device-onboarding/en/latest/
Other
43 stars 28 forks source link

Prometheus metrics for netdev_keeper #85

Open davidban77 opened 1 year ago

davidban77 commented 1 year ago

Environment

Proposed Functionality

Expose Prometheus metrics for this app. Examples:

Check Reachability and Netmiko calls

In modules like netdev_keeper there could be value exposing metrics regarding the amount of time check_reachability has been called or even guess_device_type has been called or returned errors:

These are just a few examples.

Use Case

Allow users of the platform to generate time series from their Nautobot instance. In the end this could troubleshoot and get more insight of their Nautobot platform.

scetron commented 1 year ago

The total devices onboarded metric exists already, but it is generated on the worker after netdev keeper runs. Will have to sync to determine the best method of collecting that.