1 write to _system
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
60_system = metadata.ProviderName;
9 references to _system
Microsoft.Extensions.AI (9)
ChatCompletion\OpenTelemetryChatClient.cs (9)
228.AddTag(OpenTelemetryConsts.GenAI.SystemName, _system); 274if (_system is not null) 285_ = activity.AddTag(OpenTelemetryConsts.GenAI.Request.PerProvider(_system, "response_format"), responseFormat); 290_ = activity.AddTag(OpenTelemetryConsts.GenAI.Request.PerProvider(_system, "seed"), seed); 301OpenTelemetryConsts.GenAI.Request.PerProvider(_system, JsonNamingPolicy.SnakeCaseLower.ConvertName(prop.Key)), 393if (_system is not null) 403OpenTelemetryConsts.GenAI.Response.PerProvider(_system, JsonNamingPolicy.SnakeCaseLower.ConvertName(prop.Key)), 420tags.Add(OpenTelemetryConsts.GenAI.SystemName, _system); 504new(OpenTelemetryConsts.GenAI.SystemName, _system),