diff --git a/dashboard/pages/api/metric.ts b/dashboard/pages/api/metric.ts index 7fad567699cf8..61b7234579a63 100644 --- a/dashboard/pages/api/metric.ts +++ b/dashboard/pages/api/metric.ts @@ -48,11 +48,11 @@ export interface BackPressureRateInfo { function convertToMapAndAgg( back_pressures: BackPressureInfo[] ): Map { - // fragementId-downstreamFragementId, total value + // FragmentId-downstreamFragmentId, total value const map_value = new Map() - // fragementId-downstreamFragementId, total count + // FragmentId-downstreamFragmentId, total count const map_number = new Map() - // fragementId-downstreamFragementId, average value + // FragmentId-downstreamFragmentId, average value const map = new Map() for (const item of back_pressures) { const key = `${item.fragmentId}-${item.downstreamFragmentId}`