#343

Prepend application_name from client to application_name set by DbHandler only in session mode

Openchasersopened 2y ago

When looking at connections in Postgres I should be able to see the application_name set by clients if connected via session mode through Supavisor.

select usename, application_name from pg_stat_activity;

application_name should be my_special_application_name via Supavisor

Activity

6
kepler1y ago

Any reason why this isn't currently possible? It would greatly help debugging connection issues.

abc31y ago

@hauleth I think this is already implemented as well

spormeon1y ago

i've been trying to pass this as well in the connection query string but I cant get it to work/ show up? would also be good if we could pass other "metadata" as well for tracking debugging , such as zoneid, podid, regionid, as I have pods going up/ down like yoyo's adn would be good to see thse in logs etc?

mizoz6mo ago

Hi! I'm interested in contributing to Supavisor. This issue looks like a good fit — could you assign it to me?

Snehil-Shah3mo ago

@v0idpwn I think we can close this?

v0idpwn3mo ago

Let's close it when 2.10 is released