diff --git a/vue-consul/public/blackbox.png b/vue-consul/public/blackbox.png
new file mode 100644
index 0000000..f15be0a
Binary files /dev/null and b/vue-consul/public/blackbox.png differ
diff --git a/vue-consul/public/node-exporter.png b/vue-consul/public/node-exporter.png
new file mode 100644
index 0000000..318680e
Binary files /dev/null and b/vue-consul/public/node-exporter.png differ
diff --git a/vue-consul/src/router/index.js b/vue-consul/src/router/index.js
index 7e7d7a9..4b4c640 100644
--- a/vue-consul/src/router/index.js
+++ b/vue-consul/src/router/index.js
@@ -106,6 +106,12 @@ export const constantRoutes = [
name: 'Prometheus 配置',
component: () => import('@/views/node-exporter/pconfig'),
meta: { title: 'Prometheus 配置', icon: 'el-icon-set-up' }
+ },
+ {
+ path: 'grafana',
+ name: 'Grafana 看板',
+ component: () => import('@/views/node-exporter/grafana'),
+ meta: { title: 'Grafana 看板', icon: 'el-icon-data-line' }
}
]
},
@@ -139,6 +145,12 @@ export const constantRoutes = [
name: '告警规则',
component: () => import('@/views/blackbox/rules'),
meta: { title: '告警规则', icon: 'el-icon-bell' }
+ },
+ {
+ path: 'grafana',
+ name: 'Grafana 看板',
+ component: () => import('@/views/blackbox/grafana'),
+ meta: { title: 'Grafana 看板', icon: 'el-icon-data-line' }
}
]
},
@@ -147,6 +159,10 @@ export const constantRoutes = [
component: Layout,
meta: { title: '快速链接', icon: 'link' },
children: [
+ {
+ path: 'https://github.com/starsliao/ConsulManager#%E7%89%B9%E5%88%AB%E9%B8%A3%E8%B0%A2',
+ meta: { title: '赞赏与鸣谢', icon: 'el-icon-cold-drink' }
+ },
{
path: 'https://starsl.cn',
meta: { title: 'StarsL.cn', icon: 'el-icon-s-custom' }
@@ -163,10 +179,6 @@ export const constantRoutes = [
path: 'https://starsl.cn/static/img/thanks.png',
meta: { title: '我的公众号', icon: 'el-icon-chat-dot-round' }
},
- {
- path: 'https://github.com/starsliao/ConsulManager/blob/main/Thanks.md',
- meta: { title: '特别鸣谢', icon: 'el-icon-cold-drink' }
- },
{
path: 'https://element.eleme.cn/#/zh-CN/component/icon',
meta: { title: 'Element', icon: 'el-icon-eleme' }
diff --git a/vue-consul/src/views/blackbox/grafana.vue b/vue-consul/src/views/blackbox/grafana.vue
new file mode 100644
index 0000000..75e7f58
--- /dev/null
+++ b/vue-consul/src/views/blackbox/grafana.vue
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+ Grafana 看板详情:
+ https://grafana.com/grafana/dashboards/9965
+ Grafana 看板ID:9965
+
+
+
+
+
+
+
+
+
diff --git a/vue-consul/src/views/node-exporter/grafana.vue b/vue-consul/src/views/node-exporter/grafana.vue
new file mode 100644
index 0000000..b88b28a
--- /dev/null
+++ b/vue-consul/src/views/node-exporter/grafana.vue
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+ Grafana 看板详情:
+ https://grafana.com/grafana/dashboards/8919
+ Grafana 看板ID:8919
+
+
+
+
+
+
+
+
+