Skip to content

Commit 6541ef3

Browse files
authored
[BE] add logging for util metadata (#7500)
clean and add logging remove UtilReportPageSyncParamsToUrl since this does not work properly
1 parent 3a8f9e8 commit 6541ef3

File tree

4 files changed

+6
-26
lines changed

4 files changed

+6
-26
lines changed

torchci/components/benchmark_v3/pages/BenchmarkListPage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ export function benchmarkCategoryCardToNavGroup(
5050
: 1
5151
: a.label.localeCompare(b.label)
5252
);
53-
console.log("benchmark nav items:", items);
5453

5554
return [
5655
...items,

torchci/components/utilization/UtilizationReportPage/UtilReportPageSyncParamsToUrl.tsx

Lines changed: 0 additions & 23 deletions
This file was deleted.

torchci/components/utilization/UtilizationReportPage/UtilizationReportPage.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { ReportMetricsTable } from "./ReportMetricsTable";
1010
import UtilizationReportProvider, {
1111
useUtilizationReportContext,
1212
} from "./UtilizationReportContext";
13-
import { UtilReportPageSyncParamsToUrl } from "./UtilReportPageSyncParamsToUrl";
1413

1514
dayjs.extend(utc);
1615

@@ -29,7 +28,6 @@ const UtilizationReportPage = () => {
2928

3029
return (
3130
<UtilizationReportProvider>
32-
<UtilReportPageSyncParamsToUrl />
3331
<InnerUtilizationContent timeRange={timeRange} dispatch={dispatch} />
3432
</UtilizationReportProvider>
3533
);

torchci/lib/utilization/fetchListUtilizationMetadataInfo.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,17 @@ export default async function fetchListUtilizationMetadataInfo(
1717
): Promise<ListUtilizationMetadataInfoAPIResponse> {
1818
let meta_resp = null;
1919
if (params.include_stats) {
20+
console.log(
21+
`[api][list_utilization_metadata_info][${params.workflow_id}]list util metadata with runtime aggregated stats`
22+
);
2023
meta_resp = await listUtilizationMetadataWithStats(
2124
params.workflow_id,
2225
params.repo
2326
);
2427
} else {
28+
console.log(
29+
`[api][list_utilization_metadata_info][${params.workflow_id}]list util metadata without runtime aggregated stats`
30+
);
2531
meta_resp = await listUtilizationMetadataInfo(
2632
params.workflow_id,
2733
params.repo

0 commit comments

Comments
 (0)