Skip to content

Commit

Permalink
Log new metric broken out by db_cluster (#30079)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 928037da8273b46c0f0e57ec60a0eedea56fe1f7
  • Loading branch information
nipunn1313 authored and Convex, Inc. committed Sep 25, 2024
1 parent 65e97e2 commit dce2e98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/metrics/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ fn initialize_server_version() -> String {
let version_str = SERVER_VERSION
.as_ref()
.map(|v| v.to_string())
.unwrap_or_else(|| "0.0.0".to_owned());
.unwrap_or_else(|| "unknown".to_owned());
INIT_VERSION_GAUGE.call_once(|| {
CONVEX_BINARY_VERSIONS_TOTAL
.with_label_values(&[&SERVICE_NAME, &version_str])
Expand Down

0 comments on commit dce2e98

Please sign in to comment.