mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 23:37:56 +00:00
Remove Prometheus metrics prefix (#9543)
* Remove Prometheus metrics prefix * Fix line widths * Missed some metrics * Fix CLI * Run rustfmt on modified files * Missing prefixes * Hopefully fix compilation * Rustfmt protocol.rs * Should compile now I guess * Rustfmt Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
@@ -90,7 +90,7 @@ impl ServerMetrics {
|
||||
Ok(Self {
|
||||
session_opened: register(
|
||||
Counter::new(
|
||||
"rpc_sessions_opened",
|
||||
"substrate_rpc_sessions_opened",
|
||||
"Number of persistent RPC sessions opened",
|
||||
)?,
|
||||
r,
|
||||
@@ -98,7 +98,7 @@ impl ServerMetrics {
|
||||
.into(),
|
||||
session_closed: register(
|
||||
Counter::new(
|
||||
"rpc_sessions_closed",
|
||||
"substrate_rpc_sessions_closed",
|
||||
"Number of persistent RPC sessions closed",
|
||||
)?,
|
||||
r,
|
||||
|
||||
Reference in New Issue
Block a user