grafana / unused

CLI tool, Prometheus exporter, and Go module to list your unused disks in all cloud providers
Apache License 2.0
51 stars 1 forks source link

Exporter improvements #25

Closed inkel closed 1 year ago

inkel commented 1 year ago

This PR refactors cmd/unused-exporter in several ways, providing better readability, logging, and metrics. The most important change are in exposed metrics and their labels:

All metrics have the same 2 labels, provider and provider_id, with the exception of unused_disks_count: this ones contains additionally a k8s_namespace label.