Save metric list to disk

This commit is contained in:
Christoph Hagen 2023-12-25 19:20:50 +01:00
parent 479635344d
commit 9bd7174bdd

View File

@ -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)
}