File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,26 @@ use crate::{
2828} ;
2929use std:: path:: PathBuf ;
3030
31+ /// {
32+ /// "version": current_version,
33+ /// "uiVersion": ui_version,
34+ /// "commit": commit,
35+ /// "deploymentId": deployment_id,
36+ /// "updateAvailable": update_available,
37+ /// "latestVersion": latest_release,
38+ /// "llmActive": is_llm_active,
39+ /// "llmProvider": llm_provider,
40+ /// "oidcActive": is_oidc_active,
41+ /// "license": "AGPL-3.0-only",
42+ /// "mode": mode,
43+ /// "staging": staging,
44+ /// "cache": cache_details,
45+ /// "grpcPort": grpc_port,
46+ /// "store": {
47+ /// "type": CONFIG.get_storage_mode_string(),
48+ /// "path": store_endpoint
49+ /// }
50+ /// }
3151pub async fn about ( ) -> Json < serde_json:: Value > {
3252 let meta = StorageMetadata :: global ( ) ;
3353
Original file line number Diff line number Diff line change @@ -248,6 +248,7 @@ impl QueryServer {
248248 & ingester. domain_name ,
249249 reachable,
250250 staging_path,
251+ CONFIG . storage ( ) . get_endpoint ( ) ,
251252 error,
252253 status,
253254 ) ) ;
@@ -692,6 +693,7 @@ struct ClusterInfo {
692693 domain_name : String ,
693694 reachable : bool ,
694695 staging_path : String ,
696+ storage_path : String ,
695697 error : Option < String > , // error message if the ingester is not reachable
696698 status : Option < String > , // status message if the ingester is reachable
697699}
@@ -701,13 +703,15 @@ impl ClusterInfo {
701703 domain_name : & str ,
702704 reachable : bool ,
703705 staging_path : String ,
706+ storage_path : String ,
704707 error : Option < String > ,
705708 status : Option < String > ,
706709 ) -> Self {
707710 Self {
708711 domain_name : domain_name. to_string ( ) ,
709712 reachable,
710713 staging_path,
714+ storage_path,
711715 error,
712716 status,
713717 }
You can’t perform that action at this time.
0 commit comments