diff --git a/code/service/src/main/scala/com/namely/chiefofstate/ServiceBootstrapper.scala b/code/service/src/main/scala/com/namely/chiefofstate/ServiceBootstrapper.scala index d7c6433a..8b09a9c0 100644 --- a/code/service/src/main/scala/com/namely/chiefofstate/ServiceBootstrapper.scala +++ b/code/service/src/main/scala/com/namely/chiefofstate/ServiceBootstrapper.scala @@ -48,7 +48,9 @@ object ServiceBootstrapper { Behaviors.receiveMessage[scalapb.GeneratedMessage] { case _: MigrationDone => // start the telemetry tools and register global tracer - TelemetryTools(cosConfig.telemetryConfig).start() + TelemetryTools(cosConfig.telemetryConfig) + .start() + .buildAndRegisterGlobal() // We only proceed when the data stores and various migrations are done successfully. log.info("Data store migration complete. About to start...")