Estimate the disk space required for Prometheus/Grafana

Hello Team,

Good Evening!
How can we calculate the needed storage space with below formula?
needed_disk_space = retention_time_seconds * ingested_samples_per_second * bytes_per_sample

How to retrieve the values for the following:
retention_time_seconds
ingested_samples_per_second
bytes_per_sample

It would be great if you could help us with the Query to retrieve the above.
Thank you

Regards,
Yash BRAHMANI

In which data source? Prometheus?

Hi @dianapayton,
Prometheus is the data source.

Regards,
Yash