8 references to Instruments
Aspire.Dashboard (8)
Otlp\Storage\SqliteTelemetryRepository.Caching.cs (8)
276if (resourceScope.Instruments.TryGetValue(metric.Name, out var instrument)) 282if (resourceScope.Instruments.TryGetValue(metric.Name, out instrument)) 352.Where(metric => !resourceScope.Instruments.ContainsKey(metric.Name)) 589resource.InstrumentCount = resource.Scopes.Values.Sum(scope => scope.Instruments.Count); 666if (!resourceScope.Instruments.TryGetValue(record.InstrumentName, out var instrument)) 680resourceScope.Instruments.Add(record.InstrumentName, instrument); 692.SelectMany(scope => scope.Instruments.Values) 707.SelectMany(scope => scope.Instruments.Values)