diff --git a/src/SharpIDE.Application/Features/Nuget/NugetClientService.cs b/src/SharpIDE.Application/Features/Nuget/NugetClientService.cs index 943dfa5..6e3ca3f 100644 --- a/src/SharpIDE.Application/Features/Nuget/NugetClientService.cs +++ b/src/SharpIDE.Application/Features/Nuget/NugetClientService.cs @@ -111,6 +111,7 @@ public class NugetClientService public async Task> GetPackagesForInstalledPackages(string directoryPath, List installedPackages, CancellationToken cancellationToken = default) { + using var _ = SharpIdeOtel.Source.StartActivity($"{nameof(NugetClientService)}.{nameof(GetPackagesForInstalledPackages)}"); var settings = Settings.LoadDefaultSettings(root: directoryPath); var packageSourceProvider = new PackageSourceProvider(settings); var packageSources = packageSourceProvider.LoadPackageSources().Where(p => p.IsEnabled).ToList();