Skip to content

Commit 7f63d38

Browse files
authored
Init MetricsWatcher during app startup (#2378)
Signed-off-by: Igor Egorov <[email protected]>
1 parent f0efac5 commit 7f63d38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/application/impl/kagome_application_impl.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ namespace kagome::application {
9393
app_state_manager->atShutdown([watchdog] { watchdog->stop(); });
9494

9595
{ // Metrics
96+
injector_.injectMetricsWatcher();
9697
auto metrics_registry = metrics::createRegistry();
9798

9899
constexpr auto startTimeMetricName = "kagome_process_start_time_seconds";

0 commit comments

Comments
 (0)