Track DIPS gas metrics in csv
Lets use object-store, instead of cloud-storage, it supports multiple cloud providers and very importantly supports local files.
What if we left GasMetrics as it was, since those Prometheus metrics may be useful for other purposes. And then added this new collector under the BlockState? From a Rust ownership perspective it may be nicer, we may be able to avoid the locks, and have flush_metrics_to_store consume self, such that fn reset_counters wouldn't be necessary.
I don't know if one file per block will be ok or not, but we can move forward with this and evaluate after testing a bit in real-life scenarios.