microsoft / microsoft/TypeScript

Add more telemetry for ATA

Open
#35,614 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Experience Enhancement Suggestion
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

Currently ATA just fires an event with the list of packages to be installed, the success/failure and the typings installer version. Some more useful telemetry to gather would be per package success/failure, time for each package install, and the registry used (github vs. npm).

The event currently goes from typings installer to tsserver to whoever is listening to tsserver events (the editor). So adding the extra telemetry to the typings installer event seems like the best place (the other option is to calculate it in the tsserver based on the current event payload from the typing installer).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing event flow from the typings installer through tsserver to the tsserver event listener, including the current event payload. Define the additional per-package success or failure, install duration, and registry data as telemetry fields, then verify that the event exposes all requested information.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, typescript
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.