Scans all active targets on your Prometheus server to count the number of samples available to determine the minimum size of your storage according to your retention.
The formula is based on the offcial documentation. I set the sample size to 2 bytes (pessimistic approach)
pip install -r requirements.txt
python3 main.py <prom_url> <retention>
python3 main.py http://localhost:9090 30d