Skip to content

Add condaEnvCount and managerCount to pet.refresh telemetry#1626

Merged
eleanorjboyd merged 1 commit into
microsoft:mainfrom
eleanorjboyd:telemetry/pet-refresh-env-shape
Jul 6, 2026
Merged

Add condaEnvCount and managerCount to pet.refresh telemetry#1626
eleanorjboyd merged 1 commit into
microsoft:mainfrom
eleanorjboyd:telemetry/pet-refresh-env-shape

Conversation

@eleanorjboyd

@eleanorjboyd eleanorjboyd commented Jul 6, 2026

Copy link
Copy Markdown
Member

Summary

Adds two environment-shape measures to the pet.refresh telemetry event:

  • condaEnvCount — number of discovered environments whose kind is Conda
  • managerCount — number of discovered environment managers

The event already carries envCount (total discovered environments) and Duration. Together with the two new measures, we can slice refresh duration by total env count and conda footprint in telemetry, directly testing the open hypothesis that the slow-refresh cohort is dominated by conda-heavy / many-env setups.

Motivation

We have an unexplained elevation in bad-experience rates that our simpler hypotheses (experiment ramp, first-run cost, PET code regression) did not account for. The remaining signal points at engaged users with complex setups, suspected conda-heavy — but we can't confirm this per-session without instrumenting the shape of what PET discovers. This is a minimal instrumentation change to unblock a confident decision (and to later verify whether lazy-Conda helps the right sub-cohort).

Notes

  • No new events; both new fields are measurements on an existing event.

Adds environment-shape measures to the pet.refresh event so refresh duration can be sliced by total env count and conda footprint, to test whether the slow-refresh cohort is dominated by conda-heavy / many-env setups.
@eleanorjboyd eleanorjboyd self-assigned this Jul 6, 2026
@eleanorjboyd eleanorjboyd added debt Code quality issues skip tests labels Jul 6, 2026
@eleanorjboyd eleanorjboyd marked this pull request as ready for review July 6, 2026 01:52
@eleanorjboyd eleanorjboyd enabled auto-merge (squash) July 6, 2026 01:52
@eleanorjboyd eleanorjboyd merged commit 15d206e into microsoft:main Jul 6, 2026
46 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debt Code quality issues skip tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants