mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-31 19:05:00 +07:00
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
This commit is contained in:
parent
efacf30294
commit
6e9f461cf8
1 changed files with 1 additions and 1 deletions
|
|
@ -541,7 +541,7 @@ impl PickerDelegate for ProfilePickerDelegate {
|
|||
provider.set_profile(profile_id.clone(), cx);
|
||||
|
||||
telemetry::event!(
|
||||
"agent_profile_switched",
|
||||
"Agent Profile Switched",
|
||||
profile_id = profile_id.as_str(),
|
||||
source = "picker"
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue