diff options
author | Alex <alex@adnab.me> | 2023-03-13 15:46:48 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2023-03-13 15:46:48 +0000 |
commit | 7fcc153e7cfbae61626ca288634a0f4fb4c4b709 (patch) | |
tree | aa39b41d63358277d61f2cb92ef9565a97c1c901 /src/rpc | |
parent | dc6be3983300ee3ee10f601cfc04a06563d86f48 (diff) | |
parent | f37ec584b6009b16d1c7f06918889954b22f5afb (diff) | |
download | garage-7fcc153e7cfbae61626ca288634a0f4fb4c4b709.tar.gz garage-7fcc153e7cfbae61626ca288634a0f4fb4c4b709.zip |
Merge pull request 'rpc/system_metrics.rs: Added rustversion label to garage_build_info metric.' (#524) from jpds/garage:rustversion-label into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/524
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/system_metrics.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rpc/system_metrics.rs b/src/rpc/system_metrics.rs index 83f5fa97..af81b71f 100644 --- a/src/rpc/system_metrics.rs +++ b/src/rpc/system_metrics.rs @@ -31,10 +31,10 @@ impl SystemMetrics { .u64_value_observer("garage_build_info", move |observer| { observer.observe( 1, - &[KeyValue::new( - "version", - garage_util::version::garage_version(), - )], + &[ + KeyValue::new("rustversion", garage_util::version::rust_version()), + KeyValue::new("version", garage_util::version::garage_version()), + ], ) }) .with_description("Garage build info") |