postgres_exporter
postgres_exporter copied to clipboard
Fix connection issue to multiple databases.
This is merge and conflict resolution for #529, please read more details there.
closes https://github.com/prometheus-community/postgres_exporter/pull/529 https://github.com/prometheus-community/postgres_exporter/issues/528
Co-Authored-By: Andrii Skomorokhov [email protected] Signed-off-by: Denys Kondratenko [email protected]
This needs a DCO sign-off. You can use git commit -s --amend
to add it.
I wonder if this is still a problem now that we've merged #618. But I think it makes sense to not keep idle connections open anyway.
This needs a DCO sign-off. You can use
git commit -s --amend
to add it.
it does has sign-off, but I also added original author, so DCO probably don't recognize it.
We faced the need to disable idle connections too, but due to the connection not releasing memory for some reason. Looking forward to this fix to be merged :)
@SuperQ any advise how I can keep DCO happy and still have original author?
Faced a similar problem. Freezing the decision to merge is understandable, since there is no general good solution for this problem, and in case of re-creating the connection, it will increase processor usage.
@SuperQ due to idle connections the DB can't be dropped: https://jira.percona.com/browse/PMM-7958