5 writes to Attributes
Aspire.Cli.Tests (5)
Commands\TelemetryLogsCommandTests.cs (1)
595Attributes =
Mcp\ExcludeFromMcpTests.cs (1)
481Attributes = [new OtlpKeyValueJson { Key = OtlpHelpers.AspireLogIdAttribute, Value = new OtlpAnyValueJson { IntValue = 1 } }]
Mcp\ListStructuredLogsToolTests.cs (3)
102Attributes = 117Attributes = 131Attributes =
5 references to Attributes
aspire (5)
src\Shared\ConsoleLogs\SharedAIHelpers.cs (5)
680var stackTrace = GetAttributeStringValue(logEntry.LogRecord.Attributes, ExceptionStackTraceField); 686var message = GetAttributeStringValue(logEntry.LogRecord.Attributes, ExceptionMessageField); 689var type = GetAttributeStringValue(logEntry.LogRecord.Attributes, ExceptionTypeField); 718var logIdString = GetAttributeStringValue(logEntry.LogRecord.Attributes, OtlpHelpers.AspireLogIdAttribute); 723foreach (var attr in GetFilteredAttributes(logEntry.LogRecord.Attributes))