healthcheck

This commit is contained in:
Filipriec
2026-08-31 10:47:05 +02:00
parent 0d1e793faa
commit 0224fab826
5 changed files with 20 additions and 2 deletions

View File

@@ -57,4 +57,10 @@ message BackupOperationResponse {
message BackupInfoResponse {
bool success = 1;
string output = 2;
string server_version = 3;
string database_name = 4;
bool database_healthy = 5;
bool search_healthy = 6;
bool ecb_healthy = 7;
string ecb_status = 8;
}

Binary file not shown.

View File

@@ -38,6 +38,18 @@ pub struct BackupInfoResponse {
pub success: bool,
#[prost(string, tag = "2")]
pub output: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub server_version: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub database_name: ::prost::alloc::string::String,
#[prost(bool, tag = "5")]
pub database_healthy: bool,
#[prost(bool, tag = "6")]
pub search_healthy: bool,
#[prost(bool, tag = "7")]
pub ecb_healthy: bool,
#[prost(string, tag = "8")]
pub ecb_status: ::prost::alloc::string::String,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]

2
server

Submodule server updated: 5f85cc44a6...1342460048