Skip to content

Commit

Permalink
hotfix: fix registration of otel sdk (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zen Yui authored Jun 3, 2021
1 parent 928d560 commit e852b1c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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...")
Expand Down

0 comments on commit e852b1c

Please sign in to comment.