Application_name query parameter is not affecting "Statements" UI page

admin-ui

(James Hartig) #1

I’m setting the following query parameters:

application_name=visitor-api&connect_timeout=3&sslmode=verify-full

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 https://github.com/cockroachdb/cockroach/issues/31766