1 write to _traces
Aspire.Dashboard (1)
Otlp\Storage\TelemetryRepository.cs (1)
66_traces = new(_otlpContext.Options.MaxTraceCount);
22 references to _traces
Aspire.Dashboard (22)
Otlp\Storage\TelemetryRepository.cs (22)
67_traces.ItemRemovedForCapacity += TracesItemRemovedForCapacity; 492var results = _traces.AsEnumerable(); 601_traces.Clear(); 605for (var i = _traces.Count - 1; i >= 0; i--) 608if (MatchApplications(_traces[i], applications)) 610_traces.RemoveAt(i); 689foreach (var trace in _traces) 758var results = _traces.Where(t => t.TraceId.StartsWith(traceId, StringComparison.Ordinal)); 900else if (!TryGetTraceById(_traces, span.TraceId.Memory, out trace)) 935for (var i = _traces.Count - 1; i >= 0; i--) 937var currentTrace = _traces[i]; 940_traces.Insert(i + 1, trace); 947_traces.Insert(0, trace); 955var index = _traces.IndexOf(trace); 959var currentTrace = _traces[i]; 965_traces.RemoveAt(index); 966_traces.Insert(insertPosition, trace); 976_traces.RemoveAt(index); 977_traces.Insert(0, trace); 1028for (var i = 0; i < _traces.Count; i++) 1030var trace = _traces[i]; 1048foreach (var trace in _traces)