cockroachdb / cockroachdb/cockroach
sql: stmt bundle internal queries show up under query's app name
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
I requested a stmt bundle for one of my queries at some point, then checked in later to see all queries for my app name. I was surprised, and briefly somewhat alarmed, to see some queries I didn't recognize at all being reported as having been run by my app, such as inspecting cluster settings or poking around the schema. After minute and looking at the specifics of some of the other reported queries I realized I was seeing the queries run by stmt bundle collection, just being reported as if they'd been run by my app instead. This seems a little bit confusing and could cause alarm / people wondering if their app is misbehaving or worse, compared to running them when an app name that clearly identifies them as bundle creation?
Jira issue: CRDB-27347
Contributor guide
Assessment
This issue has not been assessed yet.