microsoft / durabletask-mssql

Microsoft SQL storage provider for Durable Functions and the Durable Task Framework
MIT License
87 stars 32 forks source link

Make SqlScaleMonitor and SqlScaleMetric public for Scale Controller Redesign #139

Closed chiangvincent closed 1 year ago

chiangvincent commented 1 year ago

We are currently redesigning the scale controller to unify the duplicate scaling logic that resides in each of the extensions (CosmosDB, ServiceBus, EventHubs, Storage, etc.) and the scale controller. As a part of this redesign, scale controller will directly instantiate the ScaleMonitors for each of the above extensions, and call into the GetMetricsAsync and GetScaleStatus methods directly. To support this, we need to make ScaleMonitors, and any dependent classes public in each of the extensions.

Resources: