feat(nacos): add Nacos dashboard metrics

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-07-27 12:16:39 +08:00
1 parent 98bf3d1dfd
commit f9c2fb27d3
41 files changed
+3268 -36

No files matched your search

+9
View File
@@ -147,6 +147,15 @@ pub async fn nacos_update_instance(
dbx_core::nacos::service::nacos_update_instance_core(&state, &connection_id, req).await
}
#[tauri::command]
pub async fn nacos_get_dashboard(
state: State<'_, Arc<AppState>>,
connection_id: String,
query: dbx_core::nacos::NacosDashboardQuery,
) -> Result<dbx_core::nacos::NacosDashboardSnapshot, String> {
dbx_core::nacos::service::nacos_get_dashboard_core(&state, &connection_id, query).await
}
#[tauri::command]
pub async fn nacos_raw_request(
state: State<'_, Arc<AppState>>,