31 instantiations of HealthCheckRegistration
Aspire.Azure.AI.OpenAI (1)
Aspire.Azure.Data.Tables (1)
Aspire.Azure.Messaging.EventHubs (1)
Aspire.Azure.Messaging.ServiceBus (1)
Aspire.Azure.Messaging.WebPubSub (1)
Aspire.Azure.Search.Documents (1)
Aspire.Azure.Security.KeyVault (1)
Aspire.Azure.Storage.Blobs (1)
Aspire.Azure.Storage.Queues (1)
Aspire.Confluent.Kafka (2)
Aspire.Elastic.Clients.Elasticsearch (1)
Aspire.Hosting.Elasticsearch (1)
Aspire.Hosting.Kafka (1)
Aspire.Hosting.Qdrant (1)
Aspire.Microsoft.Data.SqlClient (1)
Aspire.Milvus.Client (1)
Aspire.MySqlConnector (1)
Aspire.Npgsql (1)
Aspire.Qdrant.Client (1)
Microsoft.Extensions.Diagnostics.HealthChecks (8)
DependencyInjection\HealthChecksBuilderAddCheckExtensions.cs (4)
66return builder.Add(new HealthCheckRegistration(name, instance, failureStatus, tags, timeout));
126return builder.Add(new HealthCheckRegistration(name, GetServiceOrCreateInstance, failureStatus, tags, timeout));
216return builder.Add(new HealthCheckRegistration(name, CreateInstance, failureStatus, tags));
254return builder.Add(new HealthCheckRegistration(name, CreateInstance, failureStatus, tags, timeout));
DependencyInjection\HealthChecksBuilderDelegateExtensions.cs (4)
59return builder.Add(new HealthCheckRegistration(name, instance, failureStatus: null, tags, timeout));
102return builder.Add(new HealthCheckRegistration(name, instance, failureStatus: null, tags, timeout));
145return builder.Add(new HealthCheckRegistration(name, instance, failureStatus: null, tags, timeout));
188return builder.Add(new HealthCheckRegistration(name, instance, failureStatus: null, tags, timeout));
Microsoft.Extensions.Diagnostics.Probes.Tests (3)
67 references to HealthCheckRegistration
Aspire.Azure.AI.OpenAI (1)
Aspire.Azure.Data.Tables (1)
Aspire.Azure.Messaging.EventHubs (1)
Aspire.Azure.Messaging.ServiceBus (1)
Aspire.Azure.Messaging.WebPubSub (1)
Aspire.Azure.Search.Documents (1)
Aspire.Azure.Security.KeyVault (1)
Aspire.Azure.Storage.Blobs (1)
Aspire.Azure.Storage.Queues (1)
Aspire.Confluent.Kafka (1)
Aspire.Elastic.Clients.Elasticsearch (1)
Aspire.Hosting.Kafka (1)
Aspire.Microsoft.Data.SqlClient (1)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
Aspire.Milvus.Client (1)
Aspire.MongoDB.Driver (1)
Aspire.MySqlConnector (1)
Aspire.NATS.Net (1)
Aspire.Npgsql (1)
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL (1)
Aspire.Oracle.EntityFrameworkCore (1)
Aspire.Pomelo.EntityFrameworkCore.MySql (1)
Aspire.Qdrant.Client (1)
Aspire.RabbitMQ.Client (1)
Aspire.Seq (1)
Aspire.StackExchange.Redis (1)
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
Microsoft.Extensions.Diagnostics.HealthChecks (20)
DefaultHealthCheckService.cs (9)
39Func<HealthCheckRegistration, bool>? predicate,
54foreach (var registration in registrations)
63foreach (var registration in registrations)
74private async Task<HealthReportEntry> RunCheckAsync(HealthCheckRegistration registration, CancellationToken cancellationToken)
160private static void ValidateRegistrations(IEnumerable<HealthCheckRegistration> registrations)
167foreach (var registration in registrations)
233public static void HealthCheckEnd(ILogger logger, HealthCheckRegistration registration, HealthReportEntry entry, TimeSpan duration)
254public static void HealthCheckError(ILogger logger, HealthCheckRegistration registration, Exception exception, TimeSpan duration) =>
257public static void HealthCheckData(ILogger logger, HealthCheckRegistration registration, HealthReportEntry entry)
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (5)
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (2)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (8)
Microsoft.Extensions.Diagnostics.Probes (1)
Microsoft.Extensions.Diagnostics.Probes.Tests (4)