From 9bd7174bdd77cf0a6986fed9eeefb3908d9818c2 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Mon, 25 Dec 2023 19:20:50 +0100 Subject: [PATCH] Save metric list to disk --- Sources/App/configure.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/App/configure.swift b/Sources/App/configure.swift index 5d77b4a..f962e8b 100644 --- a/Sources/App/configure.swift +++ b/Sources/App/configure.swift @@ -70,6 +70,7 @@ func configure(_ app: Application) async throws { provider = .init(observer: monitor, accessManager: configuration.monitoringTokens) provider.asyncScheduler = scheduler provider.registerRoutes(app) + monitor.saveCurrentListOfMetricsToLogFolder() try await status.update(.nominal) }