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)) 591resource.InstrumentCount = resource.Scopes.Values.Sum(scope => scope.Instruments.Count); 668if (!resourceScope.Instruments.TryGetValue(record.InstrumentName, out var instrument)) 682resourceScope.Instruments.Add(record.InstrumentName, instrument); 694.SelectMany(scope => scope.Instruments.Values) 709.SelectMany(scope => scope.Instruments.Values)