From 975b99365e961974e6f6ec46a373ec098622d2db Mon Sep 17 00:00:00 2001 From: eNddy Date: Fri, 26 Jul 2024 14:37:34 -0600 Subject: [PATCH] change --- Cargo.lock | 1 + node/service/Cargo.toml | 1 + node/service/src/service.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index efce134676..2394da9c82 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3806,6 +3806,7 @@ dependencies = [ "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.9.0)", "substrate-build-script-utils", "substrate-frame-rpc-system", + "substrate-prometheus-endpoint", "system-runtime-api", "tokio", "try-runtime-cli", diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 059d46ffe0..18d350ccc9 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -72,6 +72,7 @@ sp-transaction-pool = { workspace = true } sp-wasm-interface = { workspace = true } substrate-frame-rpc-system = { workspace = true } +substrate-prometheus-endpoint = { workspace = true } try-runtime-cli = { workspace = true } # Polkadot polkadot-cli = { workspace = true } diff --git a/node/service/src/service.rs b/node/service/src/service.rs index 36d682ce94..72a409c127 100644 --- a/node/service/src/service.rs +++ b/node/service/src/service.rs @@ -13,6 +13,7 @@ use frequency_runtime::RuntimeApi; // RPC use common_primitives::node::{AccountId, Balance, Block, Hash, Index as Nonce}; use jsonrpsee::RpcModule; +use substrate_prometheus_endpoint::Registry; // Cumulus Imports use cumulus_client_collator::service::CollatorService;