Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upsql,telemetry: fold unimplemented/error telemetry into feature counters #31356
Conversation
knz
requested a review
from
dt
Oct 15, 2018
knz
added this to Triage
in SQL Front-end, Lang & Semantics
via automation
Oct 15, 2018
knz
requested review from
cockroachdb/core-prs
as
code owners
Oct 15, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
knz
referenced this pull request
Oct 15, 2018
Merged
sql: report unimplemented vtables in telemetry #31332
knz
moved this from Triage
to Current milestone
in SQL Front-end, Lang & Semantics
Oct 15, 2018
knz
referenced this pull request
Oct 15, 2018
Merged
release-2.1: assorted SQL telemetry fixes #31357
dt
approved these changes
Oct 15, 2018
Reviewed 1 of 1 files at r1, 1 of 7 files at r2.
Reviewable status:complete! 0 of 0 LGTMs obtained
pkg/sql/conn_executor.go, line 316 at r2 (raw file):
if pgErr, ok := pgerror.GetPGCause(err); ok { telemetry.Count("pgerror." + pgErr.Code)
During recording in the telemetry collection server, when reported in the error count field, these are currently written to the general usage tracking table with the prefix prefix "errorcodes." .
If we want to change that to pgerror, we should change the collector server's code too, and probably update all collected data as well.
https://github.com/cockroachlabs/registration/blob/master/db.go#L222
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
done renaming prefix bors r+ |
bot
pushed a commit
that referenced
this pull request
Oct 15, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
craig
bot
commented
Oct 15, 2018
Build succeeded |
craig
bot
merged commit 7d9920e
into
cockroachdb:master
Oct 15, 2018
knz
deleted the
knz:20181015-telemetry
branch
Oct 15, 2018
bot
pushed a commit
that referenced
this pull request
Oct 15, 2018
knz
moved this from Current milestone
to Finished (milestone r2.1)
in SQL Front-end, Lang & Semantics
Oct 15, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
knz commentedOct 15, 2018
Forked off #31332.