Upload crashes to collab directly (#8649)
This lets us run rustc_demangle on the backtrace, which helps the Slack view significantly. We're also now uploading files to digital ocean's S3 equivalent (with a 1 month expiry) instead of to Slack. This PR paves the way for (but does not yet implement) sending this data to clickhouse too. Release Notes: - N/A
This commit is contained in:
parent
cdf702aeff
commit
64460e492a
13 changed files with 657 additions and 27 deletions
|
@ -807,7 +807,7 @@ async fn upload_previous_crashes(
|
|||
.unwrap_or("zed-2024-01-17-221900.ips".to_string()); // don't upload old crash reports from before we had this.
|
||||
let mut uploaded = last_uploaded.clone();
|
||||
|
||||
let crash_report_url = http.build_url("/api/crash");
|
||||
let crash_report_url = http.build_zed_api_url("/telemetry/crashes");
|
||||
|
||||
for dir in [&*CRASHES_DIR, &*CRASHES_RETIRED_DIR] {
|
||||
let mut children = smol::fs::read_dir(&dir).await?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue