# Fix agent_profile_switched telemetry event name \(\#57739\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/6e9f461cf81c75b73571038f84a1ccdb53058214)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 6e9f461cf81c75b73571038f84a1ccdb53058214

Requested commit: 6e9f461cf81c75b73571038f84a1ccdb53058214

Commit: 6e9f461cf81c75b73571038f84a1ccdb53058214

Tree: ef72f4781a94c0c69c7809f314d96ff776757cff

Author: María Craig

Committer: GitHub

## Message

```
Fix agent_profile_switched telemetry event name (#57739)

The `agent_profile_switched` event fired from the profile picker was
using snake_case instead of the title case used by every other agent
telemetry event. This caused it to land in Amplitude as a separate event
from the `Agent Profile Switched` event fired by keyboard cycling,
making it impossible to track profile switches in a single chart.

Renames the event to `Agent Profile Switched` to match. The `source`
property (`"picker"` vs `"cycle"`) still distinguishes the two code
paths.

Release Notes:

- N/A
```

## Parents

- [efacf3029415970bfabde0c093097562e07755a8](https://git.cafe/gitcafe/zed/commit/efacf3029415970bfabde0c093097562e07755a8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/6e9f461cf81c75b73571038f84a1ccdb53058214?format=markdown)
