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

Update the metric names to match Prometheus conventions #97

Open gouthamve opened 2 months ago

gouthamve commented 2 months ago

I found a few improvements to the metrics based on https://prometheus.io/docs/practices/naming/

These are good recommendations in general, and having standard units makes it easier to use the metrics in queries.

For example, having everything in bytes, means you can just divide one metric by another without conversion.

Having the timestamp in seconds allows easy use with the time() function.