19 references to Tags
Aspire.NATS.Net.Tests (1)
AspireNatsClientExtensionsTests.cs (1)
232Assert.Contains(activity.Tags, kvp => kvp.Key == "messaging.system" && kvp.Value == "nats");
Aspire.Oracle.EntityFrameworkCore.Tests (2)
ConformanceTests.cs (2)
177Assert.Contains(exportedActivities, activity => activity.Tags.Any(x => x.Key == "server.address")); 178Assert.Contains(exportedActivities, activity => activity.Tags.Any(x => x.Key == "db.system"));
Aspire.StackExchange.Redis.DistributedCaching.Tests (3)
DistributedCacheConformanceTests.cs (3)
74Assert.Contains(activity.Tags, kvp => kvp.Key == "db.system" && kvp.Value == "redis"); 79Assert.Contains(activity.Tags, kvp => kvp.Key == "db.system" && kvp.Value == "redis"); 84Assert.Contains(activity.Tags, kvp => kvp.Key == "db.system" && kvp.Value == "redis");
Aspire.StackExchange.Redis.OutputCaching.Tests (3)
OutputCacheConformanceTests.cs (3)
74Assert.Contains(activity.Tags, kvp => kvp.Key == "db.system" && kvp.Value == "redis"); 79Assert.Contains(activity.Tags, kvp => kvp.Key == "db.system" && kvp.Value == "redis"); 84Assert.Contains(activity.Tags, kvp => kvp.Key == "db.system" && kvp.Value == "redis");
Aspire.StackExchange.Redis.Tests (1)
AspireRedisExtensionsTests.cs (1)
296Assert.Contains(activity.Tags, kvp => kvp.Key == "db.system" && kvp.Value == "redis");
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTests.Activity.cs (1)
499var tags = activity.Tags.ToArray();
Microsoft.Extensions.AI.Tests (6)
ChatCompletion\FunctionInvokingChatClientTests.cs (4)
708var args = Assert.Single(executeTool.Tags, t => t.Key == "gen_ai.tool.call.arguments"); 713var result = Assert.Single(executeTool.Tags, t => t.Key == "gen_ai.tool.call.result"); 718Assert.DoesNotContain(executeTool.Tags, t => t.Key == "gen_ai.tool.call.arguments"); 719Assert.DoesNotContain(executeTool.Tags, t => t.Key == "gen_ai.tool.call.result");
ChatCompletion\OpenTelemetryChatClientTests.cs (1)
185var tags = activity.Tags.ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
Image\OpenTelemetryImageGeneratorTests.cs (1)
115var tags = activity.Tags.ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
470/// This shows up in the <see cref="Tags"/> enumeration. It is meant for information that 627/// that is simply useful to show up in the log with the activity use <see cref="Tags"/>.