Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22-alpine AS build
FROM node:24-alpine AS build
ENV NODE_ENV=development

WORKDIR /build
Expand All @@ -17,7 +17,7 @@ RUN cd /build/client && \
RUN cd /build/client && \
yarn build

FROM node:22-alpine AS release
FROM node:24-alpine AS release
ARG VERSION=unknown

LABEL maintainer='www.kubero.dev'
Expand Down
43 changes: 22 additions & 21 deletions client/src/components/apps/metrics.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ import { defineComponent } from 'vue'
import VueApexCharts from "vue3-apexcharts";
import { useKuberoStore } from '../../stores/kubero'
import { mapState } from 'pinia'
import type { ApexOptions } from 'apexcharts'

import axios from "axios";
import Alerts from './alerts.vue';
Expand Down Expand Up @@ -137,7 +138,7 @@ export default defineComponent({
},
legend: {
show: false,
position: 'top',
position: 'top' as const,
},
colors: colors,
chart: {
Expand All @@ -154,7 +155,7 @@ export default defineComponent({
}
},
stroke: {
curve: 'stepline',
curve: 'stepline' as const,
width: 1
},
dataLabels: {
Expand Down Expand Up @@ -192,14 +193,14 @@ export default defineComponent({
text: 'MiB',
},
}
},
} as ApexOptions,
LoadOptions: {
fill: {
opacity: 0.5,
type: 'solid',
},
legend: {
position: 'top',
position: 'top' as const,
},
colors: colors,
chart: {
Expand All @@ -216,7 +217,7 @@ export default defineComponent({
}
},
stroke: {
curve: 'stepline',
curve: 'stepline' as const,
width: 1
},
dataLabels: {
Expand Down Expand Up @@ -254,15 +255,15 @@ export default defineComponent({
text: 'load',
},
}
},
} as ApexOptions,
cpuOptions: {
fill: {
opacity: 0.5,
type: 'solid',
},
legend: {
show: false,
position: 'top',
position: 'top' as const,
},
colors: colors,
chart: {
Expand All @@ -279,7 +280,7 @@ export default defineComponent({
}
},
stroke: {
curve: 'stepline',
curve: 'stepline' as const,
width: 1
},
dataLabels: {
Expand Down Expand Up @@ -317,14 +318,14 @@ export default defineComponent({
text: 'millicores',
},
}
},
} as ApexOptions,
ResponsetimeOptions: {
fill: {
opacity: 0.2,
type: 'solid',
},
legend: {
position: 'top',
position: 'top' as const,
},
colors: colors,
chart: {
Expand All @@ -342,7 +343,7 @@ export default defineComponent({
}
},
stroke: {
curve: 'stepline',
curve: 'stepline' as const,
width: 1
},
dataLabels: {
Expand Down Expand Up @@ -380,14 +381,14 @@ export default defineComponent({
text: 'miliseconds',
},
}
},
} as ApexOptions,
httpStusCodeOptions: {
fill: {
opacity: 0.5,
type: 'solid',
},
legend: {
position: 'top',
position: 'top' as const,
},
colors: colors,
chart: {
Expand All @@ -405,7 +406,7 @@ export default defineComponent({
}
},
stroke: {
curve: 'stepline',
curve: 'stepline' as const,
width: 1
},
dataLabels: {
Expand Down Expand Up @@ -443,14 +444,14 @@ export default defineComponent({
text: 'Req/sec',
},
}
},
} as ApexOptions,
httpStusCodeIncreaseOptions: {
fill: {
opacity: 0.5,
type: 'solid',
},
legend: {
position: 'top',
position: 'top' as const,
},
colors: colors,
chart: {
Expand All @@ -468,7 +469,7 @@ export default defineComponent({
}
},
stroke: {
curve: 'stepline',
curve: 'stepline' as const,
width: 1
},
dataLabels: {
Expand Down Expand Up @@ -506,14 +507,14 @@ export default defineComponent({
text: 'Req',
},
}
},
} as ApexOptions,
httpResponseTrafficOptions: {
fill: {
opacity: 0.5,
type: 'solid',
},
legend: {
position: 'top',
position: 'top' as const,
},
colors: colors,
chart: {
Expand All @@ -531,7 +532,7 @@ export default defineComponent({
}
},
stroke: {
curve: 'stepline',
curve: 'stepline' as const,
width: 1
},
dataLabels: {
Expand Down Expand Up @@ -569,7 +570,7 @@ export default defineComponent({
text: 'KB',
},
}
},
} as ApexOptions,
cpuData: [] as {
name: string,
data: number[][],
Expand Down
2 changes: 1 addition & 1 deletion client/src/locale/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const messages = {
runpack: 'Runpack',
buildcommand: 'Build Command',
runcommand: 'Run Command',
containerImage: 'Conmtainer Image',
containerImage: 'Container Image',
tag: 'Tag',
command: 'Command',
basicAuthEnabled: 'Enable Basic Auth',
Expand Down
Loading
Loading