grafana / cloudcost-exporter

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

feat(google): Set refresh interval for compute module #59

Closed Pokom closed 9 months ago

Pokom commented 9 months ago

This alters the collector.Collect method on the compute module to also check if the pricing map needs to be refreshed. This is a configurable paramater so that folks that want a tighter refresh interval are easily able to do it.