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: tests for custom chart logic to determine metric sources #123086

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

abarganier
Copy link
Contributor

#122151 fixed the custom chart tool to properly display store-level metrics. However, it did not include any tests. Despite metric charts being difficult to unit test, we can still test the logic used to determine which metric sources should be included in the timeseries query.

This commit adds tests for this logic.

Release note: none

Epic: none

@abarganier abarganier requested a review from dhartunian April 25, 2024 20:15
@abarganier abarganier requested a review from a team as a code owner April 25, 2024 20:15
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@dhartunian dhartunian left a comment

Choose a reason for hiding this comment

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

:lgtm: thanks!

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@abarganier
Copy link
Contributor Author

TFTR!

bors r=dhartunian

@craig
Copy link
Contributor

craig bot commented Apr 25, 2024

Build failed:

cockroachdb#122151 fixed the custom
chart tool to properly display store-level metrics. However, it did not
include any tests. Despite metric charts being difficult to unit test,
we can still test the logic used to determine which metric sources
should be included in the timeseries query.

This commit adds tests for this logic.

Release note: none
@dhartunian
Copy link
Collaborator

I updated the PR with the missing license header

@dhartunian
Copy link
Collaborator

bors r+

@craig craig bot merged commit 3dded6b into cockroachdb:master Apr 25, 2024
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants