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

roachprod-microbench: change sheet order #110448

Merged

Conversation

herkolategan
Copy link
Collaborator

Previously metric units in the summary sheet, and on sheet tabs, were sorted alphabetically. Since sec/op is the most important metric it should be first. This change reverses the order to ensure it is.

Epic: None
Release note: None

Previously metric units in the summary sheet, and on sheet tabs, were sorted
alphabetically. Since `sec/op` is the most important metric it should be first.
This change reverses the order to ensure it is.

Epic: None
Release note: None
@herkolategan herkolategan requested a review from a team as a code owner September 12, 2023 15:23
@herkolategan herkolategan requested review from rachitgsrivastava and DarrylWong and removed request for a team September 12, 2023 15:23
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@@ -84,12 +84,13 @@ func (srv *Service) CreateSheet(
var s sheets.Spreadsheet
s.Properties = &sheets.SpreadsheetProperties{Title: name}

// Sort sheets by name.
// Sort sheets by name in reverse order. This ensures `sec/op` is the first
// sheet and metric in the summary.
Copy link
Contributor

@renatolabs renatolabs Sep 13, 2023

Choose a reason for hiding this comment

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

I think I see how this works, but if we add a new sheet (watts/sec) this will quietly break. Are we ok with that? My understanding is that we are since we will eventually be looking at Prometheus as source of truth.

Copy link
Collaborator Author

@herkolategan herkolategan left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @DarrylWong, @rachitgsrivastava, and @renatolabs)


pkg/cmd/roachprod-microbench/google/service.go line 88 at r1 (raw file):

Previously, renatolabs (Renato Costa) wrote…

I think I see how this works, but if we add a new sheet (watts/sec) this will quietly break. Are we ok with that? My understanding is that we are since we will eventually be looking at Prometheus as source of truth.

Correct, z-a order doesn't necessarily mean we'll get the "most important" first especially if custom metrics exist. Alternative might be to try and preserve the original ordering.

@herkolategan
Copy link
Collaborator Author

bors r=renatolabs

@craig
Copy link
Contributor

craig bot commented Sep 20, 2023

Build failed:

@herkolategan
Copy link
Collaborator Author

bors r=renatolabs

@craig
Copy link
Contributor

craig bot commented Sep 20, 2023

Build failed:

@renatolabs
Copy link
Contributor

The upgrade acceptance test failed by finding a known issue in an older release -- see also #110702. I'll put a patch for it later today. Unrelated to this PR.

bors retry

@craig
Copy link
Contributor

craig bot commented Sep 20, 2023

Build succeeded:

@craig craig bot merged commit 378b181 into cockroachdb:master Sep 20, 2023
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