Skip to content

Support for libpq's PGAPPNAME #6133

@michael-todorovic

Description

@michael-todorovic

Hello,
I'm a SRE and would love to get application names everywhere but depending on developers time, not all apps have set the right setting in the connection string.

If it's set, could it be possible to read from PGAPPNAME environment variable (see libpq's doc) to automatically add it in the ApplicationName field of the connection string?

It's easier/faster for us to push such environment variable (managed through k8s helm chart) than having a patch in the code

Does it sound right? If yes, I could try to implement a PR for it 😄
Thanks!

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions