Skip to content

Commit c1b427a

Browse files
authored
Fixes #2571. Cosmos DB client integration health checks (#2698)
1 parent 35136ae commit c1b427a

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

docs/database/azure-cosmos-db-entity-framework-integration.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: .NET Aspire Cosmos DB Entity Framework Core integration
33
description: Learn how to install and configure the .NET Aspire Cosmos DB Entity Framework Core integration to connect to existing Cosmos DB instances or create new instances from .NET with the Azure Cosmos DB emulator.
4-
ms.date: 02/24/2025
4+
ms.date: 02/26/2025
55
uid: dotnet/aspire/azure-cosmos-db-entity-framework-integration
66
---
77

@@ -118,8 +118,6 @@ builder.AddCosmosDbContext<MyDbContext>(
118118

119119
### Client integration health checks
120120

121-
By default, .NET Aspire integrations enable health checks for all services. For more information, see [.NET Aspire integrations overview](../fundamentals/integrations-overview.md).
122-
123121
The .NET Aspire Microsoft Entity Framework Core Cosmos DB integration currently doesn't implement health checks, though this may change in future releases.
124122

125123
[!INCLUDE [integration-observability-and-telemetry](../includes/integration-observability-and-telemetry.md)]

docs/database/azure-cosmos-db-integration.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: .NET Aspire Azure Cosmos DB integration
33
description: Learn how to install and configure the .NET Aspire Azure Cosmos DB integration to connect to existing Cosmos DB instances or create new instances from .NET with the Azure Cosmos DB emulator.
4-
ms.date: 02/24/2025
4+
ms.date: 02/26/2025
55
uid: dotnet/aspire/azure-cosmos-db-integration
66
---
77

@@ -152,12 +152,7 @@ builder.AddAzureCosmosClient(
152152

153153
### Client integration health checks
154154

155-
By default, .NET Aspire integrations enable health checks for all services. For more information, see [.NET Aspire integrations overview](../fundamentals/integrations-overview.md).
156-
157-
The .NET Aspire Azure Cosmos DB integration:
158-
159-
- Adds the health check when <xref:Aspire.Microsoft.Azure.Cosmos.MicrosoftAzureCosmosSettings.DisableTracing?displayProperty=nameWithType> is `false`, which attempts to connect to the Cosmos DB.
160-
- Integrates with the `/health` HTTP endpoint, which specifies all registered health checks must pass for app to be considered ready to accept traffic.
155+
The .NET Aspire Cosmos DB client integration currently doesn't implement health checks, though this may change in future releases.
161156

162157
[!INCLUDE [integration-observability-and-telemetry](../includes/integration-observability-and-telemetry.md)]
163158

0 commit comments

Comments
 (0)