networktocode/ntc-netbox-plugin-metrics-ext

Add Support for Metrics Directory

Opened this issue · 0 comments

Environment

  • Python version: 3.7.7
  • NetBox version: 2.8.9
  • ntc-netbox-plugin-metrics-ext version: 0.1.0

Proposed Functionality

Add support for a metrics directory where all custom metrics can be located, similar to the reports or scripts directories.
The location of the directory can be defined in the settings of the plugin and all metric_* functions found in this directory will be automatically loaded.

Use Case

Simplify how to add custom metrics and align with the model already in place for reports and scripts.