Closed bachuv closed 1 month ago
This PR adds support for target based scaling. It builds upon https://github.com/Azure/azure-functions-durable-extension/pull/2452. This PR is in draft mode since it hasn't been tested E2E yet.
Changes:
SqlMetricsProvider
GetMetricsAsync()
SqlScaleMonitor
SqlTargetScaler
ITargetScaler
TryGetTargetScaler
Quick note: I've successfully tested these changes in the Azure Functions SCv3 integration test code.
This PR adds support for target based scaling. It builds upon https://github.com/Azure/azure-functions-durable-extension/pull/2452. This PR is in draft mode since it hasn't been tested E2E yet.
Changes:
SqlMetricsProvider
and moveGetMetricsAsync()
code fromSqlScaleMonitor
hereSqlTargetScaler
(implementsITargetScaler
)TryGetTargetScaler
in SqlDurabilityProvider