forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
132922: sql, ui: introduce `sql.crud_query.count` QPS metric r=angles-n-daemons a=dhartunian Previously, customers struggled to get an accurate picture of "QPS" on a cluster, due to a number of factors. First, our `sql.query.count` metric includes counts of transaction control statements which greatly inflate the "QPS" in a confusing way to a customer. Second, the Metrics page in DB Console included a "QPS" metric which was a client-side sum of the insert/update/delete/select counters. This metric wasn't available to scrape or view in line graphs which led to confusion. In this PR we introduce the `sql.crud_query.count` and `sql.crud_query.started.count` metric which is incremented along with the insert/update/delete/select counters. This metric is added to the SQL chart at the top of the overview dashboard. That chart is renamed to have the title `SQL Queries Per Second` for clarity and the box on the right hand side now uses this metric directly. Resolves: CRDB-25876 Epic: CRDB-37557 Release note (ops change): Two new metrics are available `sql.crud_query.count` and `sql.crud_query.started.count` which measure the number of insert/update/delete/select queries executed and started respectively. Co-authored-by: David Hartunian <[email protected]>
- Loading branch information
Showing
6 changed files
with
49 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters