add basic crash analytics and very light telemetry to dioxus-cli (#4224)
* wip * wip: basic telemetry * fix merge * keep errors for telemetry * fix upload when queued events are empty * add per session id and keep track of build timing * keep track of what commands are run * capture panics * keep track of panics * better path stripping * better tracing error telemetry * only sync every week and check settings before sending any telemetry * keep track of the args passed to commands * anonymize commands * more error tolerant * wip * wip * wip * merge cnflict * other merg conflict * migrate everything from telemetry to logging * update docs * wip... about to merge trace controller * lil bit more refactor to clean up tracer * more performant log writer * cleanup ci detecting * wire up to posthog * re-uploads work * yoink out the anon from each file * cleanup sig * lil bit cleaner * dont write empty files * wip log handler * fmt * cleanup logging of backtraces * add proper backtrace support * use stable reporter * adhere to posthog format * fix stacktraces * use anyhow for capturing backtraces * I think we're done? * cleanup logging * properly collect! * move out keycode handling * she works * typo * add extra fields * fix cargo doc --------- Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
This commit is contained in:
1 parent
a610aaefc3
commit
e43bf05b69
30 files changed
+1748
-441
No files matched your search
@@ -26,6 +26,7 @@ dioxus-dx-wire-format = { workspace = true }
|
||||
wasm-split-cli = { workspace = true }
|
||||
depinfo = { workspace = true }
|
||||
subsecond-types = { workspace = true }
|
||||
dioxus-cli-telemetry = { workspace = true }
|
||||
|
||||
clap = { workspace = true, features = ["derive", "cargo"] }
|
||||
convert_case = { workspace = true }
|
||||
@@ -154,6 +155,10 @@ self_update = { version = "0.42.0", features = [
|
||||
] }
|
||||
self-replace = "1.5.0"
|
||||
cargo-config2 = { workspace = true }
|
||||
posthog-rs = "0.3.5"
|
||||
serde_json5 = "0.2.1"
|
||||
fs2 = "0.4.3"
|
||||
sentry-backtrace = "0.42.0"
|
||||
|
||||
[build-dependencies]
|
||||
built = { version = "0.8.0", features = ["git2"] }
|
||||
@@ -162,6 +167,7 @@ built = { version = "0.8.0", features = ["git2"] }
|
||||
default = []
|
||||
tokio-console = ["dep:console-subscriber", "tokio/tracing"]
|
||||
no-downloads = []
|
||||
disable-telemetry = []
|
||||
|
||||
[[bin]]
|
||||
path = "src/main.rs"
|
||||
|
||||
Reference in new issue
Block a user