Skip to content

Commit

Permalink
fix(ServerCharts): Map correct data in chart
Browse files Browse the repository at this point in the history
- Also reword titles
  • Loading branch information
balamurali27 committed Nov 28, 2024
1 parent 0e94548 commit fbdcd5d
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions dashboard/src2/components/server/ServerCharts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
title="Slow logs frequency"
>
<BarChart
title="Slow logs frequency"
title="Frequent Slow queries"
:key="slowLogsCountData"
:data="slowLogsCountData"
unit="queries"
Expand All @@ -204,16 +204,16 @@
<AnalyticsCard
v-if="!isServerType('Application Server')"
class="sm:col-span-2"
title="Slow logs frequency (normalized)"
title="Frequent Slow queries (normalized)"
>
<BarChart
title="Slow logs frequency (normalized)"
:key="slowLogsCountData"
:data="slowLogsCountData"
title="Frequent Slow queries (normalized)"
:key="normalizedSlowLogsCountData"
:data="normalizedSlowLogsCountData"
unit="queries"
:chartTheme="chartColors"
:loading="$resources.slowLogsCount.loading"
:error="$resources.slowLogsCount.error"
:loading="$resources.normalizedSlowLogsCount.loading"
:error="$resources.normalizedSlowLogsCount.error"
:showCard="false"
class="h-[15.55rem] p-2 pb-3"
/>
Expand All @@ -222,10 +222,10 @@
<AnalyticsCard
v-if="!isServerType('Application Server')"
class="sm:col-span-2"
title="Slowest logs"
title="Slowest queries"
>
<BarChart
title="Slowest logs"
title="Slowest queries"
:key="slowLogsDurationData"
:data="slowLogsDurationData"
unit="seconds"
Expand All @@ -240,16 +240,16 @@
<AnalyticsCard
v-if="!isServerType('Application Server')"
class="sm:col-span-2"
title="Slowest logs (normalized)"
title="Slowest queries (normalized)"
>
<BarChart
title="Slowest logs"
:key="slowLogsDurationData"
:data="slowLogsDurationData"
title="Slowest queries (normalized)"
:key="normalizedSlowLogsDurationData"
:data="normalizedSlowLogsDurationData"
unit="seconds"
:chartTheme="chartColors"
:loading="$resources.slowLogsDuration.loading"
:error="$resources.slowLogsDuration.error"
:loading="$resources.normalizedSlowLogsDuration.loading"
:error="$resources.normalizedSlowLogsDuration.error"
:showCard="false"
class="h-[15.55rem] p-2 pb-3"
/>
Expand Down

0 comments on commit fbdcd5d

Please sign in to comment.