[Bug]: Telemetry event missing in Visual Studio #11206
Labels
Area:Logging
Priority:1
High priority issues that must be resolved in the current sprint.
Product:VS.Client
Type:Bug
Milestone
NuGet Product Used
Visual Studio Package Management UI
Product Version
6.0
Worked before?
No
Impact
Other
Repro Steps & Context
Expected
restoreinformation
telemetry event is firedActual
Telemetry service in Visual Studio is not yet initialized when the telemetry event is fired, so the information is not sent.
The telemetry service is created in two places:
https://github.com/NuGet/NuGet.Client/blob/543d419b002c33b2f63740b47e62db137d80d2b3/src/NuGet.Clients/NuGet.Tools/NuGetPackage.cs#L158
https://github.com/NuGet/NuGet.Client/blob/543d419b002c33b2f63740b47e62db137d80d2b3/src/NuGet.Clients/NuGet.VisualStudio.OnlineEnvironment.Client/NuGetClientPackage.cs#L53
But is missing from
RestoreManagerPackage
:https://github.com/NuGet/NuGet.Client/blob/543d419b002c33b2f63740b47e62db137d80d2b3/src/NuGet.Clients/NuGet.SolutionRestoreManager/RestoreManagerPackage.cs#L42
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: