Skip to content

roachprod-microbench: change sheet order#110448

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
herkolategan:hbl/roachprod-microbench-sheet-order
Sep 20, 2023
Merged

roachprod-microbench: change sheet order#110448
craig[bot] merged 1 commit intocockroachdb:masterfrom
herkolategan:hbl/roachprod-microbench-sheet-order

Conversation

@herkolategan
Copy link
Copy Markdown
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 DarrylWong and rachitgsrivastava and removed request for a team September 12, 2023 15:23
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable


// 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
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
Collaborator Author

bors r=renatolabs

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Sep 20, 2023

Build failed:

@herkolategan
Copy link
Copy Markdown
Collaborator Author

bors r=renatolabs

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Sep 20, 2023

Build failed:

@renatolabs
Copy link
Copy Markdown

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
Copy Markdown
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