This PR adds an optional ApplicationPreferredRegions to the benchmark arguments. This allows users to target specific regions for different workloads, and allows benchmark to run during failovers.
Example:
dotnet run CosmosBenchmark.csproj -e https://myTest.documents-test.windows-int.net:443/ -k superlongsecretkey== -w ReadStreamExistsV3BenchmarkOperation --ApplicationPreferredRegions "North Central US,West US 2,Central US"
Type of change
Please delete options that are not relevant.
[] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Pull Request Template
Description
This PR adds an optional ApplicationPreferredRegions to the benchmark arguments. This allows users to target specific regions for different workloads, and allows benchmark to run during failovers.
Example:
dotnet run CosmosBenchmark.csproj -e https://myTest.documents-test.windows-int.net:443/ -k superlongsecretkey== -w ReadStreamExistsV3BenchmarkOperation --ApplicationPreferredRegions "North Central US,West US 2,Central US"
Type of change
Please delete options that are not relevant.