Open the-it opened 10 months ago
I'm in favor of this simplification, with one caveat: The few times I've gone down this path I've struggled with the mapping of stackdriver_exporter
labels to cloudcost_exporter
. So we just need to tread carefully and ensure the joins work as expected and can validate the data is the same.
We currently do something like this in our recording rules:
The metric
gcp_gcs_bucket_info
andgcp_gcs_storage_hourly_cost
are emitted by cloudcost exporter. Is it better to just emit a cost metric per bucket and provide the joining already inside of cloudcost_exporter? This would simplify the PromQL to: