Skip to content

Replay Prometheus Snapshots

hwchen edited this page Jul 22, 2021 · 1 revision

Given the prometheus snapshot is available, prometheus is able to replay the metrics for offline analysis.

Assuming the snapshot folder is , the service port is 9098:

touch prometheus.yml
prometheus --web.listen-address=":9098" --storage.tsdb.path ${PWD}