Observability: set application_name on backend/export DB connections #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observability: set
application_nameon backend/export DB connectionsForensics were slowed because every connection logs
app=[unknown]— theexport job could only be identified via the
t4a_last_run_date_lasttaskrundateINSERT and the source host IP (
2c0f:fc78:feed:1148::28), not directly.Task
application_nameon the export/management-command DBconnections (e.g. via Django
OPTIONS={'application_name': 'igo_export'}or
PGAPPNAME), so it appears in%aoflog_line_prefixand inpg_stat_activity.Priority: LOW — quality-of-life for future investigations.