This binary crate captures metrics for each day since the 2023/06/06 up to the day it is ran on.
Here are the steps this program goes through:
- Download pg_dump files from the AWS S3 bucket which contains daily snapshots of the Horizon database.
- Decompress dumps
- Restore the dumps in a local docker container and capture the metrics (analogous to the metrics seen in the metrics.rs file) and store the result in a CSV file.