diff --git a/src/Petabridge.Tracing.Zipkin/Reporting/Http/ZipkinHttpSpanReporter.cs b/src/Petabridge.Tracing.Zipkin/Reporting/Http/ZipkinHttpSpanReporter.cs index 623f055..1ac1332 100644 --- a/src/Petabridge.Tracing.Zipkin/Reporting/Http/ZipkinHttpSpanReporter.cs +++ b/src/Petabridge.Tracing.Zipkin/Reporting/Http/ZipkinHttpSpanReporter.cs @@ -19,7 +19,8 @@ public sealed class ZipkinHttpSpanReporter : ISpanReporter { private static readonly AtomicCounter NameCounter = new AtomicCounter(0); - private static readonly Config NormalHocon = ConfigurationFactory.Empty; + private static readonly Config NormalHocon = ConfigurationFactory + .ParseString(@"akka.actor.internal-dispatcher.executor = ""default-executor"""); private static readonly Config DebugHocon = ConfigurationFactory.ParseString(@"akka.loglevel = DEBUG"); private readonly ActorSystem _ownedActorSystem; // if we own the ActorSystem, we have to kill it. private readonly IActorRef _reporterActorRef; @@ -63,7 +64,7 @@ public static ZipkinHttpSpanReporter Create(ZipkinHttpReportingOptions options, { weOwnActorSystem = true; actorSystem = ActorSystem.Create("pbzipkin", - options.DebugLogging ? DebugHocon : NormalHocon); + options.DebugLogging ? DebugHocon.WithFallback(NormalHocon) : NormalHocon); } // spawn as a System actor, so in the event of being in a non-owned system our traces get shut down