Set the application name
It is best practice to set the application name with CockroachDB. You can do this in thepostgres://root@<servername:26257/mydb?application_name=movr_app or at the :
Filter database workloads by application name
Once you set the application name, the lets you . If parts of your applications or known microservices are experiencing performance degradation, you can filter for the database workload tracing statements and transactions back to that part of your application directly in the DB Console. You can quickly identify whether there were database performance problems and if so, troubleshoot the issue using SQL observability touch points in the DB Console. You can also programmatically filtercrdb_internal tables and by application name. This example shows the first 60 characters of query text and statement statistics for queries associated with the movr_app application:

