grafana / cloudcost-exporter

Prometheus Exporter for Cloud Provider agnostic cost metrics
Apache License 2.0
30 stars 1 forks source link

GCP: Persistent Volume pricing is incorrect #137

Closed Pokom closed 6 months ago

Pokom commented 6 months ago

After rolling out cloudcost-exporter I discovered that quite a few pvc's were reporting roughly twice as expensive as they should be. I setup some basic unit tests to validate that single sku's were being parsed correctly, which led to me recognize that some storage classes were getting overwritten with regional prices as well.

cloudcost-exporter should be not overwrite existing entries in the storage map.