queen-mq 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/API.md +1226 -0
- package/AUTH.md +2044 -0
- package/LICENSE.md +202 -0
- package/README.md +276 -53
- package/WEBAPP.md +1889 -0
- package/assets/dashboard-01.png +0 -0
- package/assets/queen-logo-blue.svg +210 -0
- package/assets/queen-logo-cyan.svg +210 -0
- package/assets/queen-logo-indigo.svg +210 -0
- package/assets/queen-logo-orange.svg +210 -0
- package/assets/queen-logo-pink.svg +210 -0
- package/assets/queen-logo-purple.svg +210 -0
- package/assets/queen-logo-rose.svg +239 -0
- package/assets/queen-logo.svg +263 -0
- package/examples/batch-processing.js +58 -0
- package/examples/test-dashboard-api.js +200 -0
- package/package.json +4 -2
- package/server.log +1 -0
- package/src/benchmark/consumer.js +207 -0
- package/src/benchmark/consumer_multi.js +216 -0
- package/src/benchmark/producer.js +75 -0
- package/src/benchmark/producer_multi.js +115 -0
- package/src/client/client.js +192 -16
- package/src/client/queenClient.js +5 -0
- package/src/cluster-server.js +242 -0
- package/src/config.js +19 -5
- package/src/database/connection.js +42 -16
- package/src/database/poolManager.js +7 -0
- package/src/database/schema-v2.sql +194 -130
- package/src/managers/queueManagerOptimized.js +823 -933
- package/src/managers/systemEventManager.js +8 -3
- package/src/routes/messages.js +127 -57
- package/src/routes/pop.js +27 -43
- package/src/routes/resources.js +61 -27
- package/src/routes/status.js +1037 -0
- package/src/server.js +308 -272
- package/src/services/evictionService.js +57 -28
- package/src/services/retentionService.js +44 -11
- package/src/test/advanced-pattern-tests.js +5 -5
- package/src/test/bus-mode-tests.js +24 -11
- package/src/test/edge-case-tests.js +12 -5
- package/src/test/enterprise-tests.js +48 -15
- package/src/test/utils.js +1 -1
- package/src/utils/streaming.js +231 -0
- package/src/utils/uuid.js +2 -2
- package/src/websocket/wsServer.js +10 -3
- package/test-keepalive-v2.sh +22 -0
- package/webapp/COLOR_GUIDE.md +118 -0
- package/webapp/README.md +143 -0
- package/webapp/index.html +14 -0
- package/webapp/package-lock.json +3184 -0
- package/webapp/package.json +25 -0
- package/webapp/postcss.config.js +7 -0
- package/webapp/public/assets/queen-logo-blue.svg +210 -0
- package/webapp/public/assets/queen-logo-cyan.svg +210 -0
- package/webapp/public/assets/queen-logo-indigo.svg +210 -0
- package/webapp/public/assets/queen-logo-orange.svg +210 -0
- package/webapp/public/assets/queen-logo-pink.svg +210 -0
- package/webapp/public/assets/queen-logo-purple.svg +210 -0
- package/webapp/public/assets/queen-logo-rose.svg +239 -0
- package/webapp/public/assets/queen-logo.svg +263 -0
- package/webapp/src/App.vue +19 -0
- package/webapp/src/api/analytics.js +10 -0
- package/webapp/src/api/client.js +29 -0
- package/webapp/src/api/consumers.js +52 -0
- package/webapp/src/api/health.js +7 -0
- package/webapp/src/api/messages.js +26 -0
- package/webapp/src/api/queues.js +14 -0
- package/webapp/src/api/resources.js +8 -0
- package/webapp/src/assets/styles/main.css +357 -0
- package/webapp/src/components/analytics/AnalyticsFilters.vue +87 -0
- package/webapp/src/components/analytics/AnalyticsMetrics.vue +57 -0
- package/webapp/src/components/analytics/MessageDistributionChart.vue +111 -0
- package/webapp/src/components/analytics/MessageFlowChart.vue +173 -0
- package/webapp/src/components/analytics/TimeRangeSelector.vue +27 -0
- package/webapp/src/components/analytics/TopQueuesChart.vue +132 -0
- package/webapp/src/components/common/ConfirmDialog.vue +56 -0
- package/webapp/src/components/common/LoadingSpinner.vue +6 -0
- package/webapp/src/components/common/MetricCard.vue +43 -0
- package/webapp/src/components/common/StatusBadge.vue +45 -0
- package/webapp/src/components/dashboard/MessageStatusCard.vue +50 -0
- package/webapp/src/components/dashboard/PerformanceCard.vue +38 -0
- package/webapp/src/components/dashboard/ThroughputChart.vue +182 -0
- package/webapp/src/components/dashboard/TopQueuesTable.vue +53 -0
- package/webapp/src/components/layout/AppLayout.vue +110 -0
- package/webapp/src/components/layout/AppSidebar.vue +304 -0
- package/webapp/src/components/messages/MessageDetailPanel.vue +242 -0
- package/webapp/src/components/messages/MessageFilters.vue +114 -0
- package/webapp/src/components/queue-detail/PartitionList.vue +79 -0
- package/webapp/src/components/queue-detail/PushMessageModal.vue +175 -0
- package/webapp/src/components/queue-detail/QueueConfig.vue +63 -0
- package/webapp/src/components/queue-detail/QueueDetailHeader.vue +53 -0
- package/webapp/src/components/queue-detail/RecentMessages.vue +76 -0
- package/webapp/src/components/queues/CreateQueueModal.vue +193 -0
- package/webapp/src/components/queues/QueueFilters.vue +90 -0
- package/webapp/src/composables/useApi.js +34 -0
- package/webapp/src/composables/useTheme.js +36 -0
- package/webapp/src/main.js +11 -0
- package/webapp/src/router/index.js +42 -0
- package/webapp/src/utils/colors.js +96 -0
- package/webapp/src/utils/formatters.js +49 -0
- package/webapp/src/views/Analytics.vue +377 -0
- package/webapp/src/views/ConsumerGroups.vue +433 -0
- package/webapp/src/views/Dashboard.vue +418 -0
- package/webapp/src/views/Messages.vue +361 -0
- package/webapp/src/views/QueueDetail.vue +582 -0
- package/webapp/src/views/Queues.vue +496 -0
- package/webapp/tailwind.config.js +25 -0
- package/webapp/vite.config.js +10 -0
- package/dashboard/.vscode/extensions.json +0 -3
- package/dashboard/README.md +0 -5
- package/dashboard/index.html +0 -14
- package/dashboard/package-lock.json +0 -1458
- package/dashboard/package.json +0 -25
- package/dashboard/public/vite.svg +0 -1
- package/dashboard/src/App.vue +0 -29
- package/dashboard/src/assets/styles/main.css +0 -908
- package/dashboard/src/assets/vue.svg +0 -1
- package/dashboard/src/components/cards/MetricCard.vue +0 -298
- package/dashboard/src/components/charts/QueueDepthChart.vue +0 -276
- package/dashboard/src/components/charts/QueueLagChart.vue +0 -436
- package/dashboard/src/components/charts/ThroughputChart.vue +0 -302
- package/dashboard/src/components/common/ActivityFeed.vue +0 -251
- package/dashboard/src/components/layout/AppHeader.vue +0 -208
- package/dashboard/src/components/layout/AppLayout.vue +0 -88
- package/dashboard/src/components/layout/AppSidebar.vue +0 -261
- package/dashboard/src/main.js +0 -44
- package/dashboard/src/router.js +0 -54
- package/dashboard/src/services/api.js +0 -187
- package/dashboard/src/services/websocket.js +0 -167
- package/dashboard/src/utils/constants.js +0 -56
- package/dashboard/src/utils/helpers.js +0 -118
- package/dashboard/src/views/Analytics.vue +0 -912
- package/dashboard/src/views/Dashboard.vue +0 -906
- package/dashboard/src/views/Messages.vue +0 -437
- package/dashboard/src/views/QueueDetail.vue +0 -501
- package/dashboard/src/views/Queues.vue +0 -333
- package/dashboard/vite.config.js +0 -30
- package/src/routes/analytics.js +0 -812
|
@@ -1,333 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="queues-view">
|
|
3
|
-
<Card class="queues-card">
|
|
4
|
-
<template #content>
|
|
5
|
-
<DataTable
|
|
6
|
-
:value="queues"
|
|
7
|
-
:loading="loading"
|
|
8
|
-
:paginator="true"
|
|
9
|
-
:rows="10"
|
|
10
|
-
:rowsPerPageOptions="[10, 20, 50]"
|
|
11
|
-
responsiveLayout="scroll"
|
|
12
|
-
filterDisplay="row"
|
|
13
|
-
:globalFilterFields="['name', 'namespace', 'task']"
|
|
14
|
-
class="dark-table-v3"
|
|
15
|
-
>
|
|
16
|
-
<template #header>
|
|
17
|
-
<div class="table-header">
|
|
18
|
-
<h2>Queue Management</h2>
|
|
19
|
-
<div class="table-actions">
|
|
20
|
-
<span class="p-input-icon-left">
|
|
21
|
-
<i class="pi pi-search" />
|
|
22
|
-
<InputText v-model="filters.global" placeholder="Search queues..." class="search-input" />
|
|
23
|
-
</span>
|
|
24
|
-
<Button icon="pi pi-refresh" @click="fetchQueues" :loading="loading" class="p-button-text" />
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
</template>
|
|
28
|
-
|
|
29
|
-
<Column field="name" header="Queue Name" :sortable="true">
|
|
30
|
-
<template #body="{ data }">
|
|
31
|
-
<div class="queue-name-cell">
|
|
32
|
-
<div class="queue-icon">Q</div>
|
|
33
|
-
<router-link :to="`/queues/${data.name}`" class="queue-link">
|
|
34
|
-
{{ data.name }}
|
|
35
|
-
</router-link>
|
|
36
|
-
</div>
|
|
37
|
-
</template>
|
|
38
|
-
</Column>
|
|
39
|
-
|
|
40
|
-
<Column field="namespace" header="Namespace" :sortable="true">
|
|
41
|
-
<template #body="{ data }">
|
|
42
|
-
<Tag v-if="data.namespace" :value="data.namespace" class="namespace-tag" />
|
|
43
|
-
<span v-else class="text-muted">-</span>
|
|
44
|
-
</template>
|
|
45
|
-
</Column>
|
|
46
|
-
|
|
47
|
-
<Column field="task" header="Task" :sortable="true">
|
|
48
|
-
<template #body="{ data }">
|
|
49
|
-
<Tag v-if="data.task" :value="data.task" class="task-tag" />
|
|
50
|
-
<span v-else class="text-muted">-</span>
|
|
51
|
-
</template>
|
|
52
|
-
</Column>
|
|
53
|
-
|
|
54
|
-
<Column header="Status">
|
|
55
|
-
<template #body="{ data }">
|
|
56
|
-
<div class="status-badges">
|
|
57
|
-
<span class="status-pending">{{ data.stats?.pending || 0 }} pending</span>
|
|
58
|
-
<span class="status-processing">{{ data.stats?.processing || 0 }} processing</span>
|
|
59
|
-
</div>
|
|
60
|
-
</template>
|
|
61
|
-
</Column>
|
|
62
|
-
|
|
63
|
-
<Column field="stats.completed" header="Completed" :sortable="true">
|
|
64
|
-
<template #body="{ data }">
|
|
65
|
-
<span class="status-completed">{{ data.stats?.completed || 0 }}</span>
|
|
66
|
-
</template>
|
|
67
|
-
</Column>
|
|
68
|
-
|
|
69
|
-
<Column field="stats.failed" header="Failed" :sortable="true">
|
|
70
|
-
<template #body="{ data }">
|
|
71
|
-
<span class="status-failed">{{ data.stats?.failed || 0 }}</span>
|
|
72
|
-
</template>
|
|
73
|
-
</Column>
|
|
74
|
-
|
|
75
|
-
<Column header="Actions" :exportable="false" style="min-width: 8rem">
|
|
76
|
-
<template #body="{ data }">
|
|
77
|
-
<Button
|
|
78
|
-
icon="pi pi-cog"
|
|
79
|
-
class="p-button-text p-button-sm action-btn"
|
|
80
|
-
@click="configureQueue(data)"
|
|
81
|
-
v-tooltip="'Configure'"
|
|
82
|
-
/>
|
|
83
|
-
<Button
|
|
84
|
-
icon="pi pi-trash"
|
|
85
|
-
class="p-button-text p-button-sm p-button-danger action-btn"
|
|
86
|
-
@click="deleteQueue(data)"
|
|
87
|
-
v-tooltip="'Delete'"
|
|
88
|
-
/>
|
|
89
|
-
</template>
|
|
90
|
-
</Column>
|
|
91
|
-
</DataTable>
|
|
92
|
-
</template>
|
|
93
|
-
</Card>
|
|
94
|
-
</div>
|
|
95
|
-
</template>
|
|
96
|
-
|
|
97
|
-
<script setup>
|
|
98
|
-
import { ref, onMounted } from 'vue'
|
|
99
|
-
import { useRouter } from 'vue-router'
|
|
100
|
-
import { useToast } from 'primevue/usetoast'
|
|
101
|
-
import { useConfirm } from 'primevue/useconfirm'
|
|
102
|
-
import DataTable from 'primevue/datatable'
|
|
103
|
-
import Column from 'primevue/column'
|
|
104
|
-
import InputText from 'primevue/inputtext'
|
|
105
|
-
import Button from 'primevue/button'
|
|
106
|
-
import Tag from 'primevue/tag'
|
|
107
|
-
import Card from 'primevue/card'
|
|
108
|
-
import api from '../services/api.js'
|
|
109
|
-
|
|
110
|
-
const router = useRouter()
|
|
111
|
-
const toast = useToast()
|
|
112
|
-
const confirm = useConfirm()
|
|
113
|
-
|
|
114
|
-
const loading = ref(false)
|
|
115
|
-
const queues = ref([])
|
|
116
|
-
const filters = ref({
|
|
117
|
-
global: ''
|
|
118
|
-
})
|
|
119
|
-
|
|
120
|
-
const fetchQueues = async () => {
|
|
121
|
-
try {
|
|
122
|
-
loading.value = true
|
|
123
|
-
const data = await api.getQueues()
|
|
124
|
-
|
|
125
|
-
if (data?.queues && Array.isArray(data.queues)) {
|
|
126
|
-
// Process the actual API format: {queues: [{name, namespace, task, messages: {total, pending, processing}}]}
|
|
127
|
-
queues.value = data.queues.map(queue => ({
|
|
128
|
-
id: queue.id,
|
|
129
|
-
name: queue.name,
|
|
130
|
-
namespace: queue.namespace,
|
|
131
|
-
task: queue.task,
|
|
132
|
-
createdAt: queue.createdAt,
|
|
133
|
-
partitions: queue.partitions,
|
|
134
|
-
stats: {
|
|
135
|
-
pending: queue.messages?.pending || 0,
|
|
136
|
-
processing: queue.messages?.processing || 0,
|
|
137
|
-
completed: (queue.messages?.total || 0) - (queue.messages?.pending || 0) - (queue.messages?.processing || 0),
|
|
138
|
-
failed: queue.messages?.failed || 0,
|
|
139
|
-
total: queue.messages?.total || 0
|
|
140
|
-
}
|
|
141
|
-
}))
|
|
142
|
-
} else {
|
|
143
|
-
// Fallback to empty array
|
|
144
|
-
queues.value = []
|
|
145
|
-
}
|
|
146
|
-
} catch (error) {
|
|
147
|
-
console.error('Failed to fetch queues:', error)
|
|
148
|
-
toast.add({
|
|
149
|
-
severity: 'error',
|
|
150
|
-
summary: 'Error',
|
|
151
|
-
detail: 'Failed to load queues',
|
|
152
|
-
life: 3000
|
|
153
|
-
})
|
|
154
|
-
queues.value = []
|
|
155
|
-
} finally {
|
|
156
|
-
loading.value = false
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
const configureQueue = (queue) => {
|
|
161
|
-
router.push(`/queues/${queue.name}/configure`)
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
const deleteQueue = (queue) => {
|
|
165
|
-
confirm.require({
|
|
166
|
-
message: `Are you sure you want to delete queue "${queue.name}"?`,
|
|
167
|
-
header: 'Delete Queue',
|
|
168
|
-
icon: 'pi pi-exclamation-triangle',
|
|
169
|
-
acceptClass: 'p-button-danger',
|
|
170
|
-
accept: async () => {
|
|
171
|
-
try {
|
|
172
|
-
await api.deleteQueue(queue.name)
|
|
173
|
-
toast.add({
|
|
174
|
-
severity: 'success',
|
|
175
|
-
summary: 'Success',
|
|
176
|
-
detail: `Queue "${queue.name}" deleted`,
|
|
177
|
-
life: 3000
|
|
178
|
-
})
|
|
179
|
-
fetchQueues()
|
|
180
|
-
} catch (error) {
|
|
181
|
-
toast.add({
|
|
182
|
-
severity: 'error',
|
|
183
|
-
summary: 'Error',
|
|
184
|
-
detail: 'Failed to delete queue',
|
|
185
|
-
life: 3000
|
|
186
|
-
})
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
})
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
onMounted(() => {
|
|
193
|
-
fetchQueues()
|
|
194
|
-
})
|
|
195
|
-
</script>
|
|
196
|
-
|
|
197
|
-
<style scoped>
|
|
198
|
-
.queues-view {
|
|
199
|
-
padding: 0;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.queues-card {
|
|
203
|
-
background: transparent !important;
|
|
204
|
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
205
|
-
border-radius: 16px;
|
|
206
|
-
box-shadow: none !important;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
:deep(.p-card-content) {
|
|
210
|
-
padding: 0;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.table-header {
|
|
214
|
-
display: flex;
|
|
215
|
-
justify-content: space-between;
|
|
216
|
-
align-items: center;
|
|
217
|
-
padding: 1.5rem;
|
|
218
|
-
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.table-header h2 {
|
|
222
|
-
font-size: 1.25rem;
|
|
223
|
-
font-weight: 600;
|
|
224
|
-
color: var(--surface-700);
|
|
225
|
-
margin: 0;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.table-actions {
|
|
229
|
-
display: flex;
|
|
230
|
-
gap: 1rem;
|
|
231
|
-
align-items: center;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.search-input {
|
|
235
|
-
background: rgba(255, 255, 255, 0.05);
|
|
236
|
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
237
|
-
color: var(--surface-600);
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.queue-name-cell {
|
|
241
|
-
display: flex;
|
|
242
|
-
align-items: center;
|
|
243
|
-
gap: 0.75rem;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.queue-icon {
|
|
247
|
-
width: 32px;
|
|
248
|
-
height: 32px;
|
|
249
|
-
border-radius: 8px;
|
|
250
|
-
background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
|
|
251
|
-
display: flex;
|
|
252
|
-
align-items: center;
|
|
253
|
-
justify-content: center;
|
|
254
|
-
color: white;
|
|
255
|
-
font-weight: 600;
|
|
256
|
-
font-size: 0.875rem;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.queue-link {
|
|
260
|
-
color: var(--primary-500);
|
|
261
|
-
text-decoration: none;
|
|
262
|
-
font-weight: 500;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.queue-link:hover {
|
|
266
|
-
text-decoration: underline;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.namespace-tag,
|
|
270
|
-
.task-tag {
|
|
271
|
-
background: rgba(236, 72, 153, 0.15);
|
|
272
|
-
color: var(--primary-500);
|
|
273
|
-
border: 1px solid rgba(236, 72, 153, 0.3);
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.status-badges {
|
|
277
|
-
display: flex;
|
|
278
|
-
gap: 0.5rem;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.text-muted {
|
|
282
|
-
color: var(--surface-400);
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.action-btn {
|
|
286
|
-
color: var(--surface-500) !important;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.action-btn:hover {
|
|
290
|
-
background: rgba(236, 72, 153, 0.1) !important;
|
|
291
|
-
color: var(--primary-500) !important;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.action-btn.p-button-danger:hover {
|
|
295
|
-
background: rgba(239, 68, 68, 0.1) !important;
|
|
296
|
-
color: var(--danger-color) !important;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
/* DataTable dark theme overrides */
|
|
300
|
-
:deep(.dark-table-v3) {
|
|
301
|
-
background: transparent !important;
|
|
302
|
-
border: none !important;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
:deep(.dark-table-v3 .p-datatable-header) {
|
|
306
|
-
background: transparent !important;
|
|
307
|
-
border: none !important;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
:deep(.dark-table-v3 .p-datatable-thead > tr > th) {
|
|
311
|
-
background: transparent !important;
|
|
312
|
-
color: var(--surface-400) !important;
|
|
313
|
-
border-color: rgba(255, 255, 255, 0.1) !important;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
:deep(.dark-table-v3 .p-datatable-tbody > tr) {
|
|
317
|
-
background: transparent !important;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
:deep(.dark-table-v3 .p-datatable-tbody > tr:hover) {
|
|
321
|
-
background: rgba(236, 72, 153, 0.05) !important;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
:deep(.dark-table-v3 .p-datatable-tbody > tr > td) {
|
|
325
|
-
color: var(--surface-600) !important;
|
|
326
|
-
border-color: rgba(255, 255, 255, 0.05) !important;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
:deep(.p-paginator) {
|
|
330
|
-
background: transparent !important;
|
|
331
|
-
border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
332
|
-
}
|
|
333
|
-
</style>
|
package/dashboard/vite.config.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vite'
|
|
2
|
-
import vue from '@vitejs/plugin-vue'
|
|
3
|
-
|
|
4
|
-
// https://vite.dev/config/
|
|
5
|
-
export default defineConfig({
|
|
6
|
-
plugins: [vue()],
|
|
7
|
-
server: {
|
|
8
|
-
port: 4000,
|
|
9
|
-
proxy: {
|
|
10
|
-
'/api': {
|
|
11
|
-
target: 'http://localhost:6632',
|
|
12
|
-
changeOrigin: true
|
|
13
|
-
},
|
|
14
|
-
'/health': {
|
|
15
|
-
target: 'http://localhost:6632',
|
|
16
|
-
changeOrigin: true
|
|
17
|
-
},
|
|
18
|
-
'/metrics': {
|
|
19
|
-
target: 'http://localhost:6632',
|
|
20
|
-
changeOrigin: true
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
base: '/dashboard/',
|
|
25
|
-
build: {
|
|
26
|
-
outDir: 'dist',
|
|
27
|
-
assetsDir: 'assets',
|
|
28
|
-
sourcemap: false
|
|
29
|
-
}
|
|
30
|
-
})
|