Describe the suggested improvement
Is your improvement related to a problem? Please describe.
When using ServiceControl with the Azure Service Bus emulator, an error is encountered: Could not start BrokerThroughputCollectorHostedService, due to initialization errors: length ('-15') must be a non-negative value. (Parameter 'length')
Describe the suggested solution
Improve the ExtractServiceBusName method to handle connection strings that do not contain a dot.
Describe alternatives you've considered
In docker compose create an alias for the emulator host name that include a dot - servicebus-emulator.local.
Additional Context
No response