1 instantiation of CircularBuffer
Aspire.Dashboard (1)
Otlp\Model\MetricValues\DimensionScope.cs (1)
29_values = new(capacity);
10 references to CircularBuffer
Aspire.Dashboard (10)
Otlp\Model\MetricValues\DimensionScope.cs (1)
18private readonly CircularBuffer<MetricValueBase> _values;
Otlp\Storage\TelemetryRepository.cs (3)
44private readonly CircularBuffer<OtlpLogEntry> _logs; 51private readonly CircularBuffer<OtlpTrace> _traces; 1040static bool TryGetTraceById(CircularBuffer<OtlpTrace> traces, ReadOnlyMemory<byte> traceId, [NotNullWhen(true)] out OtlpTrace? trace)
src\Shared\CircularBuffer.cs (5)
15[DebuggerTypeProxy(typeof(CircularBuffer<>.CircularBufferDebugView))] 289public CircularBuffer<T> Clone() 291var buffer = new CircularBuffer<T>(_buffer.ToList(), Capacity, _start, _end); 297private sealed class CircularBufferDebugView(CircularBuffer<T> collection) 299private readonly CircularBuffer<T> _collection = collection;
src\Shared\ConsoleLogs\LogEntries.cs (1)
19private readonly CircularBuffer<LogEntry> _logEntries = new(maximumEntryCount);