Skip to content

Conversation

@zivkan
Copy link
Member

@zivkan zivkan commented Sep 2, 2022

Bug

Fixes: https://github.com/NuGet/Client.Engineering/issues/1792

Regression? No

Description

Months ago, I wanted to fix a perf issue: #4421
However, since project systems have allow-lists of which properties they allow to be retrieved by different APIs, there's no guarantee that all project systems would work with that change. Therefore, this change adds telemetry which will give us confidence about how to fix the perf issue.

Added a singleton telemetry collector, which on VS close emits telemetry on which project system guids successfully returned property values from the two different APIs.

PR Checklist

  • PR has a meaningful title

  • PR has a linked issue.

  • Described changes

  • Tests

    • Automated tests added
    • OR
    • Test exception
    • OR
    • N/A
  • Documentation

    • Documentation PR or issue filled
    • OR
    • N/A

@zivkan zivkan requested a review from a team as a code owner September 2, 2022 01:34
jeffkl
jeffkl previously approved these changes Sep 2, 2022
@zivkan zivkan merged commit 2837e76 into dev Sep 7, 2022
@zivkan zivkan deleted the dev-zivkan-dte-api-telemetry branch September 7, 2022 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants