Save metric list to disk
This commit is contained in:
parent
479635344d
commit
9bd7174bdd
@ -70,6 +70,7 @@ func configure(_ app: Application) async throws {
|
|||||||
provider = .init(observer: monitor, accessManager: configuration.monitoringTokens)
|
provider = .init(observer: monitor, accessManager: configuration.monitoringTokens)
|
||||||
provider.asyncScheduler = scheduler
|
provider.asyncScheduler = scheduler
|
||||||
provider.registerRoutes(app)
|
provider.registerRoutes(app)
|
||||||
|
monitor.saveCurrentListOfMetricsToLogFolder()
|
||||||
|
|
||||||
try await status.update(.nominal)
|
try await status.update(.nominal)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user