Prometheus can be configured to read from and write to remote storage, in addition to its local time series database.
Exporting metrics to Prometheus from a standard Python web app stack is a bit involved no matter which road you take.