Skip to content

Commit 564462b

Browse files
Merge branch 'main' of https://github.com/zhiyuanliang-ms/azure-docs-pr into zhiyuanliang/js-provider-update
2 parents 181ef0e + a8e4624 commit 564462b

8 files changed

Lines changed: 22 additions & 6 deletions

articles/azure-app-configuration/configuration-provider-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Replica Failover | [GA](./reference-dotnet-provider.md#geo-replication) | GA | G
7070
Replica Load Balancing | [GA](./reference-dotnet-provider.md#geo-replication) | WIP | GA | GA | [GA](./reference-javascript-provider.md#geo-replication) | WIP
7171
Snapshots | [GA](./reference-dotnet-provider.md#snapshot) | GA | GA | WIP | [GA](./reference-javascript-provider.md#snapshot) | WIP
7272
Distributed Tracing | [GA](./reference-dotnet-provider.md#distributed-tracing) | WIP | WIP | WIP | WIP | WIP
73-
Health Check | WIP | GA | WIP | WIP | WIP | WIP
73+
Health Check | [GA](./reference-dotnet-provider.md#health-check) | GA | WIP | WIP | WIP | WIP
7474
Select by Tag Filters | [GA](./reference-dotnet-provider.md#load-specific-key-values-using-selectors) | WIP | WIP | GA | [GA](./reference-javascript-provider.md#tag-filters) | WIP
7575

7676
## Support policy

articles/azure-app-configuration/reference-dotnet-provider.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,22 @@ builder.Services.AddOpenTelemetry()
673673

674674
For more information about OpenTelemetry in .NET, see the [OpenTelemetry .NET documentation](https://github.com/open-telemetry/opentelemetry-dotnet).
675675

676+
## Health check
677+
678+
The Azure App Configuration .NET provider supports [.NET app health checks](/dotnet/core/diagnostics/diagnostic-health-checks). To enable health checks, you can call `AddAzureAppConfiguration()` method on `IHealthChecksBuilder`, which will add an `IHealthCheck` with a default registration name of `"Microsoft.Extensions.Configuration.AzureAppConfiguration"`.
679+
680+
```C#
681+
builder.Configuration.AddAzureAppConfiguration(options =>
682+
options.Connect(new Uri(appConfigEndpoint), new DefaultAzureCredential()));
683+
684+
builder.Services.AddHealthChecks()
685+
.AddAzureAppConfiguration();
686+
```
687+
688+
The .NET provider will be considered as unhealthy when the last load or refresh attempt failed.
689+
690+
For more information about health checks in .NET, see the [.NET health monitoring documentation](/dotnet/architecture/microservices/implement-resilient-applications/monitor-app-health).
691+
676692
## Next steps
677693

678694
To learn how to use the .NET configuration provider, continue to the following tutorial.
62.9 KB
Loading
62.8 KB
Loading
57.7 KB
Loading
55.4 KB
Loading
59.7 KB
Loading

articles/reliability/reliability-container-registry.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ For production workloads, we recommend that you take the following actions:
3232

3333
Container Registry is built on distributed Azure infrastructure to provide high availability and data durability. The service consists of several key components that work together to ensure reliability. The following diagram illustrates the core service architecture.
3434

35-
<!-- :::image type="content" source="./media/reliability-acr/acr-service-architecture.png" alt-text="Diagram that shows Container Registry service architecture with client access, control plane, data plane, and storage layer components." lightbox="./media/reliability-acr/acr-service-architecture.png" border="false":::-->
35+
:::image type="content" source="./media/reliability-container-registry/service-architecture.png" alt-text="Diagram that shows Container Registry service architecture with client access, control plane, data plane, and storage layer components." border="false":::
3636

3737
- **The control plane** is a centralized management component in the home region for registry configuration, authentication configuration, and replication policies.
3838

@@ -111,7 +111,7 @@ Zone redundancy is included with Premium tier registries at no extra cost. The P
111111

112112
This section describes what to expect when Container Registry resources are configured for zone redundancy and all availability zones are operational.
113113

114-
<!-- :::image type="content" source="./media/reliability-acr/acr-zone-redundancy-normal-operations.png" alt-text="Diagram that shows Container Registry zone redundancy during normal operations." lightbox="./media/reliability-acr/acr-zone-redundancy-normal-operations.png" border="false"::: -->
114+
:::image type="content" source="./media/reliability-container-registry/zone-redundancy-normal-operations.png" alt-text="Diagram that shows Container Registry zone redundancy during normal operations." border="false":::
115115

116116
- **Traffic routing between zones:** Container Registry uses internal routing functionality to automatically distribute data plane operations across all availability zones within a region. The registry service automatically routes requests to healthy zones without requiring external load balancers.
117117

@@ -123,7 +123,7 @@ This section describes what to expect when Container Registry resources are conf
123123

124124
When a zone becomes unavailable, Container Registry automatically handles the failover process with minimal impact to registry operations.
125125

126-
<!-- :::image type="content" source="./media/reliability-acr/acr-zone-redundancy-zone-failure.png" alt-text="Diagram that shows Container Registry behavior during zone failure. Automatic failover routes to healthy zones. One zone is marked as unavailable." lightbox="./media/reliability-acr/acr-zone-redundancy-zone-failure.png" border="false"::: -->
126+
:::image type="content" source="./media/reliability-container-registry/zone-redundancy-zone-failure.png" alt-text="Diagram that shows Container Registry behavior during zone failure. Automatic failover routes to healthy zones. One zone is marked as unavailable." border="false":::
127127

128128
- **Detection and response:** The Container Registry platform automatically detects failures in an availability zone and initiates a response. The service automatically routes traffic to the remaining healthy zones. No manual intervention is required to initiate a zone failover.
129129

@@ -195,7 +195,7 @@ Geo-replication can be configured during registry creation or added to existing
195195

196196
This section describes what to expect when a registry is configured for geo-replication and all regions are operational.
197197

198-
<!-- :::image type="content" source="./media/reliability-acr/acr-multi-region-normal-operations.png" alt-text="Diagram showing Container Registry multi-region operations. Global clients connect via Traffic Manager to registry endpoints across multiple regions." lightbox="./media/reliability-acr/acr-multi-region-normal-operations.png" border="false"::: -->
198+
:::image type="content" source="./media/reliability-container-registry/multi-region-normal-operations.png" alt-text="Diagram showing Container Registry multi-region operations. Global clients connect via Traffic Manager to registry endpoints across multiple regions." border="false":::
199199

200200
- **Traffic routing between regions:** Container Registry operates in an active-active configuration where each regional endpoint can serve all data plane operations independently, including reads and writes. Data plane operations, such as container push and pull operations, are automatically routed by using Traffic Manager with performance-based criteria to determine the optimal regional endpoint for performance.
201201

@@ -209,7 +209,7 @@ This section describes what to expect when a registry is configured for geo-repl
209209

210210
When a region becomes unavailable, container operations can continue to use alternative regional endpoints.
211211

212-
<!-- :::image type="content" source="./media/reliability-acr/acr-multi-region-region-failure.png" alt-text="Diagram that shows Container Registry behavior during regional failure." lightbox="./media/reliability-acr/acr-multi-region-region-failure.png" border="false"::: -->
212+
:::image type="content" source="./media/reliability-container-registry/multi-region-region-failure.png" alt-text="Diagram that shows Container Registry behavior during regional failure." border="false":::
213213

214214
- **Detection and response:** Container Registry monitors the health of each regional replica and is responsible for redirecting traffic to another region.
215215

0 commit comments

Comments
 (0)