Skip to content

Commit

Permalink
Add missing topics metric (#922)
Browse files Browse the repository at this point in the history
  • Loading branch information
spetz authored Apr 28, 2024
1 parent 78e7cbf commit 550220c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "server"
version = "0.2.21"
version = "0.2.22"
edition = "2021"
build = "src/build.rs"

Expand Down
1 change: 1 addition & 0 deletions server/src/streaming/diagnostics/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ impl Metrics {

metrics.register_counter("http_requests", metrics.http_requests.clone());
metrics.register_gauge("streams", metrics.streams.clone());
metrics.register_gauge("topics", metrics.topics.clone());
metrics.register_gauge("partitions", metrics.partitions.clone());
metrics.register_gauge("segments", metrics.segments.clone());
metrics.register_gauge("messages", metrics.messages.clone());
Expand Down

0 comments on commit 550220c

Please sign in to comment.