Skip to content

Set application_name in Postgres connection string #1208

Description

@chris-rcn

The problem
Setting application_name informs the database. The value may be used in logs and metrics, depending on the DB implementation.
See https://www.postgresql.org/docs/9.0/runtime-config-logging.html#GUC-APPLICATION-NAME

The solution
Set the application name on the SQL connection somewhere in
https://github.com/temporalio/temporal/blob/master/common/persistence/sql/sqlplugin/postgresql/plugin.go

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions