8 writes to DeploymentRing
Microsoft.Extensions.AmbientMetadata.Application.Tests (7)
AcceptanceTests.cs (3)
22DeploymentRing = _fixture.Create<string>(), 71metadata.DeploymentRing = _metadata.DeploymentRing; 96metadata.DeploymentRing = _metadata.DeploymentRing;
ApplicationMetadataExtensionsTests.cs (3)
116DeploymentRing = _fixture.Create<string>(), 148DeploymentRing = _fixture.Create<string>(), 157m.DeploymentRing = expectedMetadata.DeploymentRing;
ApplicationMetadataTests.cs (1)
70_sut.DeploymentRing = testValue;
Microsoft.Extensions.Telemetry.Tests (1)
Enrichment\ApplicationLogEnricherTests.cs (1)
69DeploymentRing = deploymentRing,
14 references to DeploymentRing
Microsoft.Extensions.AmbientMetadata.Application.Tests (11)
AcceptanceTests.cs (6)
34options.DeploymentRing.Should().Be(_metadata.DeploymentRing); 50options.DeploymentRing.Should().Be(_metadata.DeploymentRing); 71metadata.DeploymentRing = _metadata.DeploymentRing; 96metadata.DeploymentRing = _metadata.DeploymentRing;
ApplicationMetadataExtensionsTests.cs (3)
125[$"{nameof(ApplicationMetadata)}:{nameof(ApplicationMetadata.DeploymentRing)}"] = expectedMetadata.DeploymentRing, 157m.DeploymentRing = expectedMetadata.DeploymentRing;
ApplicationMetadataTests.cs (2)
32applicationMetadata.DeploymentRing.Should().BeNull(); 72_sut.DeploymentRing.Should().Be(testValue);
Microsoft.Extensions.Telemetry (3)
Enrichment\ApplicationLogEnricher.cs (2)
47if (enricherOptions.DeploymentRing && applicationMetadata.DeploymentRing is not null) 49l.Add(new(ApplicationEnricherTags.DeploymentRing, applicationMetadata.DeploymentRing));
Enrichment\ApplicationLogEnricherOptions.cs (1)
30/// Gets or sets a value indicating whether <see cref="ApplicationMetadata.DeploymentRing"/> is used for logs enrichment.