Skip to content

Commit b4069dd

Browse files
authored
Merge pull request #895 from integer32llc/ws-metrics-namespace
2 parents 3d9a3a9 + 832bdcc commit b4069dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/src/metrics.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ lazy_static! {
1818
)
1919
.unwrap();
2020
pub(crate) static ref LIVE_WS: IntGauge = register_int_gauge!(
21-
"active_websocket_connections_count",
21+
"playground_active_websocket_connections_count",
2222
"Number of active WebSocket connections"
2323
)
2424
.unwrap();
2525
pub(crate) static ref DURATION_WS: Histogram = register_histogram!(
26-
"websocket_duration_seconds",
26+
"playground_websocket_duration_seconds",
2727
"WebSocket connection length",
2828
vec![15.0, 60.0, 300.0, 600.0, 1800.0, 3600.0, 7200.0]
2929
)
3030
.unwrap();
3131
pub(crate) static ref UNAVAILABLE_WS: IntCounter = register_int_counter!(
32-
"websocket_unavailability_count",
32+
"playground_websocket_unavailability_count",
3333
"Number of failed WebSocket connections"
3434
)
3535
.unwrap();

0 commit comments

Comments
 (0)