Skip to content

Commit 89de7d9

Browse files
committed
update by comments:
1 parent fbb899a commit 89de7d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DurableTask.SqlServer.AzureFunctions/SqlScaleMonitor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class SqlScaleMonitor : IScaleMonitor<SqlScaleMetric>
2626
public SqlScaleMonitor(string functionId, string taskHubName, SqlMetricsProvider sqlMetricsProvider)
2727
{
2828
// Scalers in Durable Functions is per function ids. And scalers share the same sqlMetricsProvider in the same taskhub.
29-
string id = $"DurableTask-SqlServer:{taskHubName ?? "default"}";
29+
string id = $"{functionId}-DurableTask-SqlServer:{taskHubName ?? "default"}";
3030

3131
#if FUNCTIONS_V4
3232
this.Descriptor = new ScaleMonitorDescriptor(id: id, functionId: functionId);

0 commit comments

Comments
 (0)