Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
EVG-19743 remove granularity parameter from the Honeycomb system metr…
Browse files Browse the repository at this point in the history
…ics link (#1935)
  • Loading branch information
ybrill authored Jul 11, 2023
1 parent 765c095 commit d94527d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/constants/externalResources.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe("getTaskSystemMetricsUrl", () => {
new Date("2023-07-07T20:00:00")
)
).toBe(
`/datasets/evergreen?query={"calculations":[{"op":"AVG","column":"system.memory.usage.used"},{"op":"AVG","column":"system.cpu.utilization"},{"op":"RATE_AVG","column":"system.network.io.transmit"},{"op":"RATE_AVG","column":"system.network.io.receive"}],"filters":[{"op":"=","column":"evergreen.task.id","value":"task_12345"}],"start_time":1688756921,"end_time":1688760000,"granularity":15}&omitMissingValues`
`/datasets/evergreen?query={"calculations":[{"op":"AVG","column":"system.memory.usage.used"},{"op":"AVG","column":"system.cpu.utilization"},{"op":"RATE_AVG","column":"system.network.io.transmit"},{"op":"RATE_AVG","column":"system.network.io.receive"}],"filters":[{"op":"=","column":"evergreen.task.id","value":"task_12345"}],"start_time":1688756921,"end_time":1688760000}&omitMissingValues`
);
});
});
1 change: 0 additions & 1 deletion src/constants/externalResources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ export const getHoneycombSystemMetricsUrl = (
filters: [{ op: "=", column: "evergreen.task.id", value: taskId }],
start_time: getUnixTime(new Date(startTs)),
end_time: getUnixTime(new Date(endTs)),
granularity: 15,
};

return `${getHoneycombBaseURL()}/datasets/evergreen?query=${JSON.stringify(
Expand Down

0 comments on commit d94527d

Please sign in to comment.