4 references to GetCachedResource
Aspire.Dashboard (4)
Otlp\Storage\SqliteTelemetryRepository.Logs.cs (2)
387if (record.InternalId is not { } internalId || GetCachedResource(record.ResourceId!.Value) is not { } resource) 467if (row.InternalId is { } id && row.ResourceId is { } resourceId && GetCachedResource(resourceId) is { } resource)
Otlp\Storage\SqliteTelemetryRepository.Traces.Reads.cs (2)
522if (record.ResourceId is not { } resourceId || GetCachedResource(resourceId) is not { } resource) 933modelSpan.SetUninstrumentedPeer(GetCachedResource(record.PeerResourceId.Value));