rpc/system_metrics.rs: Added rustversion label to garage_build_info metric. #524
1 changed files with 2 additions and 1 deletions
|
@ -820,11 +820,12 @@ impl AdminRpcHandler {
|
||||||
let mut ret = String::new();
|
let mut ret = String::new();
|
||||||
writeln!(
|
writeln!(
|
||||||
&mut ret,
|
&mut ret,
|
||||||
"\nGarage version: {} [features: {}]",
|
"\nGarage version: {} [features: {}]\nRust compiler version: {}",
|
||||||
garage_util::version::garage_version(),
|
garage_util::version::garage_version(),
|
||||||
garage_util::version::garage_features()
|
garage_util::version::garage_features()
|
||||||
.map(|list| list.join(", "))
|
.map(|list| list.join(", "))
|
||||||
.unwrap_or_else(|| "(unknown)".into()),
|
.unwrap_or_else(|| "(unknown)".into()),
|
||||||
|
garage_util::version::rust_version(),
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue