8 references to ProcessEnricherTagNames
Microsoft.Extensions.Telemetry (2)
Enrichment\ProcessLogEnricher.cs (1)
35
collector.Add(
ProcessEnricherTagNames
.ThreadId, _threadId);
Enrichment\StaticProcessLogEnricher.cs (1)
38
collector.Add(
ProcessEnricherTagNames
.ProcessId, _processId);
Microsoft.Extensions.Telemetry.Tests (6)
Enrichment\ProcessEnricherDimensionsTests.cs (2)
17
IReadOnlyList<string> dimensions =
ProcessEnricherTagNames
.DimensionNames;
18
string[] expectedDimensions = GetStringConstants(typeof(
ProcessEnricherTagNames
));
Enrichment\ProcessLogEnricherTests.cs (4)
63
Assert.Equal(Thread.CurrentThread.ManagedThreadId.ToString(CultureInfo.InvariantCulture), enrichedState[
ProcessEnricherTagNames
.ThreadId]);
68
Assert.Equal(_processId.ToString(CultureInfo.InvariantCulture), enrichedState[
ProcessEnricherTagNames
.ProcessId]);
92
Assert.False(enrichedState.ContainsKey(
ProcessEnricherTagNames
.ProcessId));
93
Assert.False(enrichedState.ContainsKey(
ProcessEnricherTagNames
.ThreadId));