We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 50cdf2f + 0c7ebdf commit 343d823Copy full SHA for 343d823
site/frontend/src/pages/status/collector.vue
@@ -152,7 +152,7 @@ function averageCollectorDuration(collector: CollectorConfig): string {
152
return "Unknown";
153
}
154
const durationSum = collector.pastRequestDurations.reduce(
155
- (acc, req) => acc + req.job_duration_s,
+ (acc, req) => acc + req.jobDurationS,
156
0
157
);
158
const averageDuration = durationSum / collector.pastRequestDurations.length;
site/frontend/src/pages/status/data.ts
@@ -32,7 +32,7 @@ export type BenchmarkJob = {
32
33
export type PastRequestDuration = {
34
requestTag: String;
35
- job_duration_s: number;
+ jobDurationS: number;
36
};
37
38
export type CollectorConfig = {
0 commit comments