7 writes to DeploymentRing
Microsoft.Extensions.AmbientMetadata.Application.Tests (6)
AcceptanceTests.cs (2)
22DeploymentRing = _fixture.Create<string>(), 55metadata.DeploymentRing = _metadata.DeploymentRing;
ApplicationMetadataExtensionsTests.cs (3)
95DeploymentRing = _fixture.Create<string>(), 127DeploymentRing = _fixture.Create<string>(), 136m.DeploymentRing = expectedMetadata.DeploymentRing;
ApplicationMetadataTests.cs (1)
70_sut.DeploymentRing = testValue;
Microsoft.Extensions.Telemetry.Tests (1)
Enrichment\ApplicationLogEnricherTests.cs (1)
69DeploymentRing = deploymentRing,
11 references to DeploymentRing
Microsoft.Extensions.AmbientMetadata.Application.Tests (8)
AcceptanceTests.cs (3)
34options.DeploymentRing.Should().Be(_metadata.DeploymentRing); 55metadata.DeploymentRing = _metadata.DeploymentRing;
ApplicationMetadataExtensionsTests.cs (3)
104[$"{nameof(ApplicationMetadata)}:{nameof(ApplicationMetadata.DeploymentRing)}"] = expectedMetadata.DeploymentRing, 136m.DeploymentRing = expectedMetadata.DeploymentRing;
ApplicationMetadataTests.cs (2)
32applicationMetadata.DeploymentRing.Should().BeNull(); 72_sut.DeploymentRing.Should().Be(testValue);
Microsoft.Extensions.Telemetry (3)
Enrichment\ApplicationLogEnricher.cs (2)
48if (enricherOptions.DeploymentRing && applicationMetadata.DeploymentRing is not null) 50l.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.