24 references to AddTag
Aspire.RabbitMQ.Client (1)
AspireRabbitMQExtensions.cs (1)
238activity.AddTag("server.port", address.Port);
Microsoft.AspNetCore.Diagnostics (1)
src\Shared\Diagnostics\ActivityCreator.cs (1)
79activity.AddTag(tag.Key, tag.Value);
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (1)
src\Shared\Diagnostics\ActivityCreator.cs (1)
79activity.AddTag(tag.Key, tag.Value);
Microsoft.AspNetCore.Hosting (1)
src\Shared\Diagnostics\ActivityCreator.cs (1)
79activity.AddTag(tag.Key, tag.Value);
Microsoft.AspNetCore.SignalR.Core (1)
src\Shared\Diagnostics\ActivityCreator.cs (1)
79activity.AddTag(tag.Key, tag.Value);
Microsoft.Extensions.AI (17)
ChatCompletion\OpenTelemetryChatClient.cs (12)
234.AddTag(OpenTelemetryConsts.Server.Port, _serverPort); 241_ = activity.AddTag(OpenTelemetryConsts.GenAI.Request.FrequencyPenalty, frequencyPenalty); 246_ = activity.AddTag(OpenTelemetryConsts.GenAI.Request.MaxTokens, maxTokens); 251_ = activity.AddTag(OpenTelemetryConsts.GenAI.Request.PresencePenalty, presencePenalty); 256_ = activity.AddTag(OpenTelemetryConsts.GenAI.Request.Seed, seed); 266_ = activity.AddTag(OpenTelemetryConsts.GenAI.Request.Temperature, temperature); 271_ = activity.AddTag(OpenTelemetryConsts.GenAI.Request.TopK, topK); 276_ = activity.AddTag(OpenTelemetryConsts.GenAI.Request.TopP, top_p); 300_ = activity.AddTag( 385_ = activity.AddTag(OpenTelemetryConsts.GenAI.Response.InputTokens, inputTokens); 390_ = activity.AddTag(OpenTelemetryConsts.GenAI.Response.OutputTokens, outputTokens); 402_ = activity.AddTag(
Embeddings\OpenTelemetryEmbeddingGenerator.cs (5)
147.AddTag(OpenTelemetryConsts.Server.Port, _endpointPort); 152_ = activity.AddTag(OpenTelemetryConsts.GenAI.Request.EmbeddingDimensions, dimensions); 165_ = activity.AddTag( 228_ = activity.AddTag(OpenTelemetryConsts.GenAI.Response.InputTokens, inputTokens); 244_ = activity.AddTag(
Microsoft.Extensions.Telemetry.Tests (1)
Logging\ExtendedLoggerFactoryTests.cs (1)
292activity.AddTag("testKey4", new Dummy());
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Activity.cs (1)
476public Activity AddTag(string key, string? value) => AddTag(key, (object?)value);