Azure / azure-cosmos-dotnet-v3

.NET SDK for Azure Cosmos DB for the core SQL API
MIT License
736 stars 491 forks source link

Benchmark: Adds region to configuration options #4478

Closed j82w closed 3 months ago

j82w commented 4 months ago

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.