# Add timestamp delta to telemetry events \(\#3365\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 385028865e92c438af2395db63c4ed6958554c10

Requested commit: 385028865e92c438af2395db63c4ed6958554c10

Commit: 385028865e92c438af2395db63c4ed6958554c10

Tree: fadbb4be00bf76b709530a4487d2ee9fa421f9dd

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Add timestamp delta to telemetry events (#3365)

- [X] assistant_events
- [X] call_events
- [X] copilot_events
- [X] cpu_events
- [X] download_events
- [X] editor_events
- [X] memory_events
- [X] page_events
- [X] panic_events
---
- [X] For each of the previous tables:
    - [X] backup events to comp
    - [X] make new table (changing any time fields to be datetime64)
    - [X] copy data
    - [X] rename old table
    - [X] rename new table
---
- [ ] Delete all old tables once (going to hold off on this for some
time - want to make sure things are working correctly)
    - [X] we see new data coming in on new tables
    - [X] old times truncate correctly
    - [X] new times show millisecond values
---
- [X] check dashboards to make sure queries didn't get broken from
changing time data type
    - [X] Fix broken charts
- [X] monitor vercel for runtime errors

---

- [X] zed.dev changes
- [X] chrono changes to panicked_on
    - [X] Make sure new panics are good
- [X] remove commented out code and dbg code
- [X] triple check that both crate versions have the changes
- [X] make sure all event function calls use the same original arguments
- [X] Finish testing version 2

Release Notes:

- N/A
```

## Parents

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

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

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