sql_exporter icon indicating copy to clipboard operation
sql_exporter copied to clipboard

Support new postgres features

Open nikita-safonov opened this issue 1 year ago • 3 comments

Hello!

Currently pq is stopped in development and does not support any new postgres features like new environment variables, parameters and so on.

Right now I'm trying to deploy an exporter in kubernetes and want to collect metrics from master, but I have 3 PG instances and patroni, so I don't know who is master and who is slave, so I tried to use target_session_attrs parameter. But pq doesn't support it because MR hasn't been merged for 5 years...

If I knew GO, I would create MR to migrate to pgx, which is currently under active development and supports all new features.

Thanks.

nikita-safonov avatar Jul 05 '23 15:07 nikita-safonov

I have completely the same problem

vvitad avatar Mar 06 '24 09:03 vvitad

That feature is needed! I don't want to collect metrics I won't use from replica. It would be garbage.

vvitad avatar Mar 07 '24 06:03 vvitad

Pull requests are welcome! (See "help wanted" label)

dewey avatar Mar 07 '24 06:03 dewey