Open mbanck opened 4 years ago
AFAIK - you can always set "PGAPPNAME" environment variable before starting pg exporter. That configured name will be displayed in "pg_stat_activity".
Suggestion works fine. Would be nice to have it documented on the README
It would be nice if postgres_exporter would set an application (like
postgres-exporter
or so), so that it can be better identified inpg_stat_activity
amonst other backends.