Using Postgres with Simple Monitor

Hello!
On the page of a simple monitor (https://github.com/zeebe-io/zeebe-simple-monitor), there is a diagram showing the DB block (on the right) and an example of connecting a simple monitor to a postgres.
Maybe I’m bad at reading English, but I can not understand the role in this case performs the database? What data is stored there? When should this database be used?

The Zeebe engine state data is exported via the Hazelcast exporter. Simple Monitor receives it via Hazelcast and puts it into a database, so that you have a historical state view.

The Zeebe engine only ever has the current running state. When a process finishes execution in Zeebe, all state data is gone.

Thank you, now I understand.

1 Like