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)) 353.Where(metric => !resourceScope.Instruments.ContainsKey(metric.Name)) 593resource.InstrumentCount = resource.Scopes.Values.Sum(scope => scope.Instruments.Count); 670if (!resourceScope.Instruments.TryGetValue(record.InstrumentName, out var instrument)) 685resourceScope.Instruments.Add(record.InstrumentName, instrument); 697.SelectMany(scope => scope.Instruments.Values) 712.SelectMany(scope => scope.Instruments.Values)