postgres-ai / postgres-checkup

Postgres Health Check and SQL Performance Analysis. :point_right: THIS IS A MIRROR OF https://gitlab.com/postgres-ai/postgres-checkup
GNU Affero General Public License v3.0
169 stars 14 forks source link

Ability to add fake masters #118

Closed Nastradamus closed 5 years ago

Nastradamus commented 5 years ago

We need to see only one real master at once in reports. Add CLI option into ./check to mark it as a fake master in json report.

@dmius what do you think about json format for this fake master?

dmius commented 5 years ago

We should have same format as current, just for fake master we will have role - "fake-master1". So nothing changes in json format not needed.