2 writes to Tags
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (2)
HealthCheckRegistration.cs (2)
68Tags = new HashSet<string>(tags ?? Array.Empty<string>(), StringComparer.OrdinalIgnoreCase); 120Tags = new HashSet<string>(tags ?? Array.Empty<string>(), StringComparer.OrdinalIgnoreCase);
23 references to Tags
HealthChecksSample (1)
LivenessProbeStartup.cs (1)
47Predicate = (check) => check.Tags.Contains("ready"),
Microsoft.Extensions.Diagnostics.HealthChecks (3)
DefaultHealthCheckService.cs (3)
116tags: registration.Tags); 130tags: registration.Tags); 145tags: registration.Tags);
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (8)
DependencyInjection\HealthChecksBuilderTest.cs (8)
38Assert.Equal<string>(new[] { "tag", }, registration.Tags); 58Assert.Equal<string>(new[] { "tag", }, registration.Tags); 81Assert.Equal<string>(new[] { "tag", }, registration.Tags); 103Assert.Equal<string>(new[] { "tag", }, registration.Tags); 129Assert.Equal<string>(new[] { "tag", }, registration.Tags); 152Assert.Equal<string>(new[] { "tag", }, registration.Tags); 175Assert.Equal<string>(new[] { "tag", }, registration.Tags); 198Assert.Equal<string>(new[] { "tag", }, registration.Tags);
Microsoft.Extensions.Diagnostics.Probes (6)
KubernetesProbesExtensions.cs (6)
67options.FilterChecks = (check) => check.Tags.Contains(ProbeTags.Liveness); 71options.FilterChecks = (check) => check.Tags.Contains(ProbeTags.Liveness) && originalPredicate(check); 84options.FilterChecks = (check) => check.Tags.Contains(ProbeTags.Startup); 88options.FilterChecks = (check) => check.Tags.Contains(ProbeTags.Startup) && originalPredicate(check); 101options.FilterChecks = (check) => check.Tags.Contains(ProbeTags.Readiness); 105options.FilterChecks = (check) => check.Tags.Contains(ProbeTags.Readiness) && originalPredicate(check);
OrleansServiceDefaults (1)
Extensions.cs (1)
108Predicate = r => r.Tags.Contains("live")
Playground.ServiceDefaults (1)
Extensions.cs (1)
105Predicate = r => r.Tags.Contains("live")
Seq.ServiceDefaults (1)
Extensions.cs (1)
107Predicate = r => r.Tags.Contains("live")
TestingAppHost1.ServiceDefaults (1)
Extensions.cs (1)
114Predicate = r => r.Tags.Contains("live")
TestShop.ServiceDefaults (1)
Extensions.cs (1)
104Predicate = r => r.Tags.Contains("live")