-
Notifications
You must be signed in to change notification settings - Fork 25
DEVPROD-1661 add disk metrics to honeycomb metrics link #2183
Conversation
1 failed test on run #14643 ↗︎
Details:
cypress/integration/preferences/public_key_management.ts • 1 failed test
Review all test suite changes for PR #2183 ↗︎ |
evergreen retry |
src/constants/externalResources.ts
Outdated
].concat( | ||
diskDevices | ||
.map((device) => [ | ||
{ op: "RATE_AVG", column: `system.disk.io.${device}.read` }, | ||
{ op: "RATE_AVG", column: `system.disk.io.${device}.write` }, | ||
{ op: "RATE_AVG", column: `system.disk.operations.${device}.read` }, | ||
{ | ||
op: "RATE_AVG", | ||
column: `system.disk.operations.${device}.write`, | ||
}, | ||
{ op: "RATE_AVG", column: `system.disk.io_time.${device}` }, | ||
]) | ||
.flat() | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disclaimer that the lint might be wrong so I wouldn't suggest committing this suggestion via the button 😅
].concat( | |
diskDevices | |
.map((device) => [ | |
{ op: "RATE_AVG", column: `system.disk.io.${device}.read` }, | |
{ op: "RATE_AVG", column: `system.disk.io.${device}.write` }, | |
{ op: "RATE_AVG", column: `system.disk.operations.${device}.read` }, | |
{ | |
op: "RATE_AVG", | |
column: `system.disk.operations.${device}.write`, | |
}, | |
{ op: "RATE_AVG", column: `system.disk.io_time.${device}` }, | |
]) | |
.flat() | |
), | |
...diskDevices | |
.flatMap((device) => [ | |
{ op: "RATE_AVG", column: `system.disk.io.${device}.read` }, | |
{ op: "RATE_AVG", column: `system.disk.io.${device}.write` }, | |
{ op: "RATE_AVG", column: `system.disk.operations.${device}.read` }, | |
{ | |
op: "RATE_AVG", | |
column: `system.disk.operations.${device}.write`, | |
}, | |
{ op: "RATE_AVG", column: `system.disk.io_time.${device}` }, | |
]) | |
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! done
describe("getTaskSystemMetricsUrlWithDisks", () => { | ||
it("generates the correct url", () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd recommend just adding this test to the block above, since they test the same function! And renaming the block to getHoneycombSystemMetricsUrl
(maybe getTaskSystemMetricsUrl
was the old name?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
DEVPROD-1661
Description
This ought to be the last of the PRs for this feature. This modifies the Honeycomb system metrics link to include disk stats for the disk names that were recorded when a task finished running.
Screenshots
N/A
Testing
This query got generated for a task with a distro that had two disk devices configured.
Evergreen PR
evergreen-ci/evergreen#7308