Azure / azure-cosmos-dotnet-v3

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

FaultInjection: Adds ApplyPercentage for ServerErrorRule #4450

Closed NaluTripician closed 4 months ago

NaluTripician commented 5 months ago

Pull Request Template

Description

Adds Application Percentage for ServerErrorRules. This allows users to specify how frequently server error rules are applied. For instance, by setting this value to .5 that rule will be applied 50% of the time. This value is 1, or 100%, by default.

Type of change

Please delete options that are not relevant.

Closing issues

To automatically close an issue: closes #IssueNumber