From 127f5ed463e6667f7d9c68ebb58c52fed9698cd2 Mon Sep 17 00:00:00 2001 From: veypi Date: Fri, 7 Jun 2024 17:00:06 +0800 Subject: [PATCH] stats appcard page --- README.md | 2 + oaweb/app.vue | 2 +- oaweb/components/appcard.vue | 77 + oaweb/components/menu.vue | 2 +- oaweb/components/tschart/index.ts | 11 + oaweb/components/tschart/params.ts | 74 + oaweb/components/tschart/tschart.vue | 216 + oaweb/layouts/default.vue | 12 +- oaweb/nuxt.config.ts | 15 +- oaweb/package-lock.json | 10692 ------------------------- oaweb/package.json | 5 +- oaweb/pages/index.vue | 5 +- oaweb/pages/stats.vue | 89 + oaweb/yarn.lock | 2202 ++--- 14 files changed, 1609 insertions(+), 11795 deletions(-) create mode 100644 oaweb/components/appcard.vue create mode 100644 oaweb/components/tschart/index.ts create mode 100644 oaweb/components/tschart/params.ts create mode 100644 oaweb/components/tschart/tschart.vue delete mode 100644 oaweb/package-lock.json create mode 100644 oaweb/pages/stats.vue diff --git a/README.md b/README.md index d902603..40b3da3 100644 --- a/README.md +++ b/README.md @@ -9,4 +9,6 @@ ### 依赖库 ```bash +docker run -dit --name=tsdb -v /Users/veypi/test/vdb:/victoria-metrics-data -p 8428:8428 victoriametrics/victoria-metrics -search.latencyOffset=1s +nats-server -c ./script/nats.cfg ``` diff --git a/oaweb/app.vue b/oaweb/app.vue index 3497253..af646bb 100644 --- a/oaweb/app.vue +++ b/oaweb/app.vue @@ -3,10 +3,10 @@ -
+ diff --git a/oaweb/components/menu.vue b/oaweb/components/menu.vue index 7bf0052..4c46e95 100644 --- a/oaweb/components/menu.vue +++ b/oaweb/components/menu.vue @@ -7,7 +7,7 @@