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