1 write to InternalId
Aspire.Dashboard (1)
Otlp\Model\OtlpLogEntry.cs (1)
32InternalId = Interlocked.Increment(ref s_nextLogEntryId);
29 references to InternalId
Aspire.Dashboard (29)
Components\Controls\StructuredLogActions.razor.cs (1)
90AIPromptsLoc.GetString(nameof(AIPrompts.PromptAnalyzeLogEntry), LogEntry.InternalId),
Components\Controls\StructuredLogDetails.razor.cs (2)
69if (ViewModel.LogEntry.InternalId != _viewModel?.LogEntry.InternalId)
Components\Pages\StructuredLogs.razor.cs (5)
314if (SelectedLogEntry?.LogEntry.InternalId == entry.InternalId) 422if (entry.InternalId == SelectedLogEntry?.LogEntry.InternalId) 564logEntry.InternalId,
Components\Pages\TraceDetail.razor.cs (4)
395else if (SelectedData?.LogEntryViewModel is { } selectedLog && viewModel.SpanLogs.Any(l => l.LogEntry.InternalId == selectedLog.LogEntry.InternalId)) 532if (SelectedData?.LogEntryViewModel?.LogEntry.InternalId == logEntry.InternalId)
Components_Pages_StructuredLogs_razor.g.cs (2)
1368r => r.InternalId 1775var id = $"details-button-{context.InternalId}";
Components_Pages_TraceDetail_razor.g.cs (3)
2277var buttonId = $"{context.Span.SpanId}-{item.LogEntry.InternalId}"; 2279var isSelected = SelectedData?.LogEntryViewModel?.LogEntry.InternalId == item.LogEntry.InternalId;
Model\Assistant\AIHelpers.cs (4)
272log_id = l.InternalId, 275message = context.AddValue(l.Message, id => $@"Duplicate of ""message"" for log entry {id.InternalId}", l), 280.ToDictionary(a => a.Key, a => context.AddValue(MapOtelAttributeValue(a), id => $@"Duplicate of attribute ""{id.Key}"" for log entry {id.InternalId}", (l.InternalId, a.Key))), 281exception = context.AddValue(exceptionText, id => $@"Duplicate of ""exception"" for log entry {id.InternalId}", l),
Model\Assistant\AssistantChatDataContext.cs (2)
392_referencedLogs[logEntry.InternalId] = logEntry; 405_referencedLogs.TryAdd(logEntry.InternalId, logEntry);
Model\Assistant\Markdown\LogEntryInlineRenderer.cs (2)
14renderer.Write($@"<a href=""{DashboardUrls.StructuredLogsUrl(logEntryId: inline.LogEntry.InternalId)}"" class=""log-entry"">Log {inline.LogEntry.InternalId}</a>");
Model\Assistant\Prompts\IceBreakersBuilder.cs (2)
205_loc.GetString(nameof(AIPrompts.PromptAnalyzeLogEntry), logEntry.InternalId), 208_loc.GetString(nameof(AIPrompts.PromptAnalyzeLogEntry), logEntry.InternalId),
Model\GenAI\GenAIVisualizerDialogViewModel.cs (1)
213viewModel.Items.Add(CreateMessage(viewModel, currentIndex, type.Value, parts, internalId: item.InternalId));
Otlp\Storage\TelemetryRepository.cs (1)
445if (logEntry.InternalId == logId)