From 7f63d38b7df6853a3f71d74ce60d86f5003fa4e0 Mon Sep 17 00:00:00 2001 From: Igor Egorov Date: Wed, 19 Feb 2025 12:22:38 +0300 Subject: [PATCH 1/2] Init MetricsWatcher during app startup (#2378) Signed-off-by: Igor Egorov --- core/application/impl/kagome_application_impl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/application/impl/kagome_application_impl.cpp b/core/application/impl/kagome_application_impl.cpp index 0fde7f639e..fc63e723aa 100644 --- a/core/application/impl/kagome_application_impl.cpp +++ b/core/application/impl/kagome_application_impl.cpp @@ -93,6 +93,7 @@ namespace kagome::application { app_state_manager->atShutdown([watchdog] { watchdog->stop(); }); { // Metrics + injector_.injectMetricsWatcher(); auto metrics_registry = metrics::createRegistry(); constexpr auto startTimeMetricName = "kagome_process_start_time_seconds"; From afdc93c54a5bf0eeb024a9dfddcaf3f740e0ceec Mon Sep 17 00:00:00 2001 From: kamilsa Date: Wed, 19 Feb 2025 16:39:08 +0500 Subject: [PATCH 2/2] Update kagome crates to 1.0.4 (#2382) --- cmake/Hunter/config.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Hunter/config.cmake b/cmake/Hunter/config.cmake index 96ba74deac..069debd195 100644 --- a/cmake/Hunter/config.cmake +++ b/cmake/Hunter/config.cmake @@ -88,8 +88,8 @@ endif () hunter_config( kagome-crates - URL https://github.com/qdrvm/kagome-crates/archive/refs/tags/v1.0.3.tar.gz - SHA1 4207446a0e45764b814805821aa6860924b03cb7 + URL https://github.com/qdrvm/kagome-crates/archive/refs/tags/v1.0.4.tar.gz + SHA1 a85f3ca7a5dac2d22c609cc0c3f39408ad72dba8 ) hunter_config(