diff --git a/src/DurableTask.Netherite/OrchestrationService/NetheriteOrchestrationService.cs b/src/DurableTask.Netherite/OrchestrationService/NetheriteOrchestrationService.cs index ad302c02..9f8077c8 100644 --- a/src/DurableTask.Netherite/OrchestrationService/NetheriteOrchestrationService.cs +++ b/src/DurableTask.Netherite/OrchestrationService/NetheriteOrchestrationService.cs @@ -175,7 +175,8 @@ public bool TryGetScalingMonitor(out ScalingMonitor monitor) this.Settings.ResolvedTransportConnectionString, this.Settings.LoadInformationAzureTableName, this.Settings.HubName, - this.TraceHelper.TraceScaleRecommendation); + this.TraceHelper.TraceScaleRecommendation, + this.TraceHelper.Logger); return true; } else diff --git a/src/DurableTask.Netherite/Scaling/ScalingMonitor.cs b/src/DurableTask.Netherite/Scaling/ScalingMonitor.cs index 49834ff6..38cf302f 100644 --- a/src/DurableTask.Netherite/Scaling/ScalingMonitor.cs +++ b/src/DurableTask.Netherite/Scaling/ScalingMonitor.cs @@ -50,13 +50,15 @@ public ScalingMonitor( string eventHubsConnectionString, string partitionLoadTableName, string taskHubName, - Action recommendationTracer) + Action recommendationTracer, + ILogger logger) { this.storageConnectionString = storageConnectionString; this.eventHubsConnectionString = eventHubsConnectionString; this.partitionLoadTableName = partitionLoadTableName; this.taskHubName = taskHubName; this.recommendationTracer = recommendationTracer; + this.Logger = logger; TransportConnectionString.Parse(eventHubsConnectionString, out _, out this.configuredTransport);