Application_name query parameter is not affecting "Statements" UI page


(James Hartig) #1

I’m setting the following query parameters:


and using the built-in sql package in golang to connect to CockroachDB. The admin UI’s Statements page just shows app as “(unset)” for all of the queries.

When I run queries via the cockroach cli client as well it still shows as “(unset)”.

I’m running v2.1.0-beta.20181015. Is there something I’m missing or is it a bug in 2.1?

(Ben Darnell) #2

It looks like this is a bug. It works if I set the application name manually with SET application_name=, but not with the query string. I’ve filed this as