-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sql: sqlstats is missing on v20.1.0 #49388
Comments
Touches cockroachdb#49388. This was caused by the background loops use an incorrect setup to reset collected stats. Also, fix a bug where statements issued at the same time that the SQL stats are flushed would not be reported. Release note: None
Touches cockroachdb#49388. This was caused by the background loops use an incorrect setup to reset collected stats. Also, fix a bug where statements issued at the same time that the SQL stats are flushed would not be reported. Release note: None
49392: server: fix bug where SQL stats were not flushed into reportable stats r=knz a=rohany Touches #49388. This was caused by the background loops use an incorrect setup to reset collected stats. Also, fix a bug where statements issued at the same time that the SQL stats are flushed would not be reported. Release note: None Co-authored-by: Rohan Yadav <[email protected]>
@DuskEagle / @rohany I see a PR was merged for this, does that mean we are collecting stats again? Can we backfill the missed dates or no? Thanks :) |
We'll have to wait for 20.1.2 to go out with this fix before we start getting stats again. Sadly I don't think we can backfill the missing dates. |
Touches cockroachdb#49388. This was caused by the background loops use an incorrect setup to reset collected stats. Also, fix a bug where statements issued at the same time that the SQL stats are flushed would not be reported. Release note: None
this issue is fixed by #49392 isn't it? |
I think so, but I'd like to wait for a 20.1.2 rc that I know works before closing. |
Touches cockroachdb#49388. This was caused by the background loops use an incorrect setup to reset collected stats. Also, fix a bug where statements issued at the same time that the SQL stats are flushed would not be reported. Release note: None
Describe the problem
SQL stats are being reported on v20.1 clusters. The sqlstats appear as an empty list even when stats should be present.
To Reproduce
Visit the the
/_status/diagnostics/local
page of a v20.1 cluster, and view thesqlStats
entry.Expected behavior
SQL stats appear in the sqlStats entry on
/_status/diagnostics/local
. This is the behaviour on versions of CockroachDB <= v19.2.Additional context
This affects all telemetry collection of SQL statements on v20.1 clusters. We have no stats on what types of queries are being run on v20.1 until this is fixed.
The text was updated successfully, but these errors were encountered: