diff --git a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue index eb85584df..dd91d2519 100644 --- a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue +++ b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue @@ -58,6 +58,8 @@ + + @@ -81,10 +83,12 @@ import terminalLogTab from './tabs/terminalLogTab' import assetTab from '@/components/common/bottomBox/tabs/assetTab' import { fromRoute } from '@/components/common/js/constants' import LogBottomTab from '@/components/common/bottomBox/tabs/logBottomTab' +import scrapeEndpoint from '@/components/common/bottomBox/tabs/scrapeEndpoint' export default { name: 'bottomBox', components: { + scrapeEndpoint, LogBottomTab, cabinetTab, alertMessageTab, @@ -239,8 +243,10 @@ export default { { prop: 'asset', name: this.$t('asset.assets'), active: false }, { prop: 'alertMessageTab', name: this.$t('overall.alert'), active: true } ] - } - + }, + agent: [ + { prop: 'agent', name: this.$t('config.agent.scrapeEndpoint'), active: true } + ] } } }, diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/scrapeEndpoint.vue b/nezha-fronted/src/components/common/bottomBox/tabs/scrapeEndpoint.vue new file mode 100644 index 000000000..030b365d8 --- /dev/null +++ b/nezha-fronted/src/components/common/bottomBox/tabs/scrapeEndpoint.vue @@ -0,0 +1,212 @@ + + diff --git a/nezha-fronted/src/components/common/table/settings/scrapeEndpointTable.vue b/nezha-fronted/src/components/common/table/settings/scrapeEndpointTable.vue new file mode 100644 index 000000000..be9847f0a --- /dev/null +++ b/nezha-fronted/src/components/common/table/settings/scrapeEndpointTable.vue @@ -0,0 +1,205 @@ + + +