zalando / pg_view

Get a detailed, real-time view of your PostgreSQL database and system metrics
https://pypi.python.org/pypi/pg-view
Other
494 stars 49 forks source link

Refactor to psutil no conflict #74

Closed alexeyklyukin closed 7 years ago

alexeyklyukin commented 7 years ago

A branch forked from the one by @rsiera with conflicts resolved.

rsiera commented 7 years ago

Regarding the comment about moving variable from collectors to const.py - I agree. They are moved in next PR, because in this one I wanted to make as small changes as possible. In this step I divided pg_view.py into smaller components, so it was good time to move these global variables into consts.py, but didn't make changes in objects(if it was possible) at all. Next PR includes tests and changes in objects and I think this way the diffs will be more transparent.