1 write to _traces
Aspire.Dashboard (1)
Otlp\Storage\TelemetryRepository.cs (1)
66_traces = new(_otlpContext.Options.MaxTraceCount);
18 references to _traces
Aspire.Dashboard (18)
Otlp\Storage\TelemetryRepository.cs (18)
67_traces.ItemRemovedForCapacity += TracesItemRemovedForCapacity; 504var results = _traces.AsEnumerable(); 577foreach (var trace in _traces) 646var results = _traces.Where(t => t.TraceId.StartsWith(traceId, StringComparison.Ordinal)); 800else if (!TryGetTraceById(_traces, span.TraceId.Memory, out trace)) 835for (var i = _traces.Count - 1; i >= 0; i--) 837var currentTrace = _traces[i]; 840_traces.Insert(i + 1, trace); 847_traces.Insert(0, trace); 855var index = _traces.IndexOf(trace); 859var currentTrace = _traces[i]; 865_traces.RemoveAt(index); 866_traces.Insert(insertPosition, trace); 876_traces.RemoveAt(index); 877_traces.Insert(0, trace); 928for (var i = 0; i < _traces.Count; i++) 930var trace = _traces[i]; 948foreach (var trace in _traces)