NetApp / harvest

Open-metrics endpoint for ONTAP and StorageGRID
https://netapp.github.io/harvest/latest
Apache License 2.0
148 stars 36 forks source link

Harvest should collect quotas even when there are no qtrees #3035

Closed cgrinds closed 2 months ago

cgrinds commented 3 months ago

See https://github.com/NetApp/harvest/discussions/3024

cgrinds commented 2 months ago

Another way to address this missing feature would be to add a new collector template parameter that controls whether a plugin runs even when there are no instances.

The default value would be false, but could be overridden. Name ideas:

always_run_plugins: true
plugins_on_no_data: true
plugins_on_no_instances: true
plugins_on_empty_data: true
run_plugins_if_no_data: true
Hardikl commented 1 month ago

As we have split the qtree and quota rest templates, this changes would no longer be applicable. Moving to status/done.