Skip to content
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

ui: take non-negative derivative of full scan chart #118787

Merged
merged 1 commit into from Feb 6, 2024

Conversation

xinhaoz
Copy link
Member

@xinhaoz xinhaoz commented Feb 5, 2024

The full scan metric was previously being displayed as a count using a downsampling max aggregation function. This commit changes the full scans graph in the sql dashboard to show the non-negative derivative of the metric since this chart is more useful when displayed as a rate.

Epic: none
Fixes: #118535

Release note (ui change): The Full Table/Index Scans chart in the sql metrics dashboard now shows the non-negative derivative of the number of full scans tracked.

Before
image

After
image

The full scan metric was previously being displayed as a count using a
downsampling max aggregation function. This commit changes the full
scans graph in the sql dashboard to show the non-negative derivative
of the metric since this chart is more useful when displayed as a rate.

Epic: none
Fixes: cockroachdb#118535

Release note (ui change): The `Full Table/Index Scans` chart in the sql
metrics dashboard now shows the non-negative derivative of the number of
full scans tracked.
@xinhaoz xinhaoz requested a review from a team as a code owner February 5, 2024 22:08
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@xinhaoz xinhaoz requested review from a team and abarganier and removed request for a team February 5, 2024 22:16
@xinhaoz
Copy link
Member Author

xinhaoz commented Feb 6, 2024

tftr!
bors r+

@xinhaoz xinhaoz added backport-23.1.x Flags PRs that need to be backported to 23.1 backport-23.2.x Flags PRs that need to be backported to 23.2. labels Feb 6, 2024
Copy link
Member

@abarganier abarganier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you Xin!

@craig
Copy link
Contributor

craig bot commented Feb 6, 2024

This PR was included in a batch that timed out, it will be automatically retried

@craig
Copy link
Contributor

craig bot commented Feb 6, 2024

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Feb 6, 2024

Build succeeded:

@craig craig bot merged commit 8c16d7d into cockroachdb:master Feb 6, 2024
9 of 10 checks passed
Copy link

blathers-crl bot commented Feb 6, 2024

Encountered an error creating backports. Some common things that can go wrong:

  1. The backport branch might have already existed.
  2. There was a merge conflict.
  3. The backport branch contained merge commits.

You might need to create your backport manually using the backport tool.


error creating merge commit from d95fb57 to blathers/backport-release-23.1-118787: POST https://api.github.com/repos/cockroachdb/cockroach/merges: 409 Merge conflict []

you may need to manually resolve merge conflicts with the backport tool.

Backport to branch 23.1.x failed. See errors above.


🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@xinhaoz xinhaoz deleted the full-scan-chart-fix branch April 1, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-23.1.x Flags PRs that need to be backported to 23.1 backport-23.2.x Flags PRs that need to be backported to 23.2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui: Full Table/Index Scans metrics chart not using rate function
4 participants