AspNetCore.Diagnostics.HealthChecks
AspNetCore.Diagnostics.HealthChecks copied to clipboard
Replace Cosmos Db metadata query with container query
What this PR does / why we need it: Run a container query rather than a metadata query if containers are specified
Which issue(s) this PR fixes: Execution of Cosmos Db account metadata queries that can result in throttling errors
Please reference the issue this PR will close: #[462]
Special notes for your reviewer:
Does this PR introduce a user-facing change?: Implementation change of existing functionality
Please make sure you've completed the relevant tasks for this PR, out of the following list:
- [x] Code compiles correctly
- [x] Created/updated tests
- [x] Unit tests passing
- [x] End-to-end tests passing
- [ ] Extended the documentation
- [ ] Provided sample for the feature
@dotnet-policy-service agree company="CFC Underwriting"
@adamsitnik