3 instantiations of CircularBuffer
Aspire.Dashboard (3)
Otlp\Model\MetricValues\DimensionScope.cs (1)
31
_values =
new
(capacity);
Otlp\Storage\TelemetryRepository.cs (2)
58
_logs =
new
(_dashboardOptions.TelemetryLimits.MaxLogCount);
59
_traces =
new
(_dashboardOptions.TelemetryLimits.MaxTraceCount);
8 references to CircularBuffer
Aspire.Dashboard (8)
Otlp\Model\MetricValues\DimensionScope.cs (1)
20
private readonly
CircularBuffer
<MetricValueBase> _values;
Otlp\Storage\TelemetryRepository.cs (3)
37
private readonly
CircularBuffer
<OtlpLogEntry> _logs;
43
private readonly
CircularBuffer
<OtlpTrace> _traces;
795
static bool TryGetTraceById(
CircularBuffer
<OtlpTrace> traces, ReadOnlyMemory<byte> traceId, [NotNullWhen(true)] out OtlpTrace? trace)
src\Shared\CircularBuffer.cs (3)
15
[DebuggerTypeProxy(typeof(
CircularBuffer
<>.CircularBufferDebugView))]
285
private sealed class CircularBufferDebugView(
CircularBuffer
<T> collection)
287
private readonly
CircularBuffer
<T> _collection = collection;
src\Shared\ConsoleLogs\LogEntries.cs (1)
12
private readonly
CircularBuffer
<LogEntry> _logEntries = new(maximumEntryCount);