Add telemetry for ASP.NET Core analyzers to understand usages
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
We should have telemetry for the analyzers to understand how often users hit analyzer warnings. For analyzers with a codefix, we should also understand how often do the users use the associated codefix.
### Describe the solution you'd like
I believe such infrastructure exists already in Roslyn and the trigger there is simply the Telemetry tag to be added to the diagnostic descriptor. To be confirmed with Roslyn team before implementing.
### Additional context
_No response_
Contributor guide
Research direction
No files or tests are named. Start by confirming with the Roslyn team whether adding the Telemetry tag to diagnostic descriptors provides the required analyzer-warning telemetry, and identify how associated codefix usage is recorded. Done means ASP.NET Core analyzers report warning usage and their codefixes report usage through the agreed infrastructure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100