1 instantiation of CachedInstrument
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.Caching.cs (1)
670
instrument = new
CachedInstrument
(
9 references to CachedInstrument
Aspire.Dashboard (9)
Otlp\Storage\SqliteTelemetryRepository.Caching.cs (6)
261
private
CachedInstrument
GetOrAddCachedInstrument(
276
if (resourceScope.Instruments.TryGetValue(metric.Name, out
var
instrument))
666
private static
CachedInstrument
AddCachedInstrument(CachedResource resource, CachedResourceScope resourceScope, CachedInstrumentRecord record)
668
if (!resourceScope.Instruments.TryGetValue(record.InstrumentName, out
var
instrument))
701
private List<
CachedInstrument
> GetCachedInstruments(ResourceKey resourceKey, string meterName, string instrumentName)
777
public Dictionary<string,
CachedInstrument
> Instruments { get; } = new(StringComparer.Ordinal);
Otlp\Storage\SqliteTelemetryRepository.Metrics.Reads.cs (2)
162
IReadOnlyList<
CachedInstrument
> instruments,
263
IReadOnlyList<
CachedInstrument
> instruments,
Otlp\Storage\SqliteTelemetryRepository.Metrics.Writes.cs (1)
131
CachedInstrument
cachedInstrument;