Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
a935855
wip
jkelleyrtp May 26, 2025
d631505
wip: basic telemetry
jkelleyrtp May 30, 2025
d4abb45
Merge remote-tracking branch 'origin/main' into jk/telemetry
ealmloff Jul 22, 2025
6f13459
fix merge
ealmloff Jul 22, 2025
f5d7aad
keep errors for telemetry
ealmloff Jul 22, 2025
fff4e62
fix upload when queued events are empty
ealmloff Jul 22, 2025
9b87bb4
add per session id and keep track of build timing
ealmloff Jul 22, 2025
8330494
keep track of what commands are run
ealmloff Jul 22, 2025
8c135c2
capture panics
ealmloff Jul 23, 2025
04af797
keep track of panics
ealmloff Jul 23, 2025
601f75d
better path stripping
ealmloff Jul 23, 2025
84de664
better tracing error telemetry
ealmloff Jul 23, 2025
85ad6b0
Merge branch 'remote-origin' into jk/telemetry
ealmloff Jul 23, 2025
85ef7cc
only sync every week and check settings before sending any telemetry
ealmloff Jul 23, 2025
ba856ac
keep track of the args passed to commands
ealmloff Jul 23, 2025
950b12e
anonymize commands
ealmloff Jul 24, 2025
1793d1d
more error tolerant
ealmloff Jul 24, 2025
3e6fa88
Merge remote-tracking branch 'origin/main' into jk/telemetry
jkelleyrtp Aug 1, 2025
f7fb2e2
wip
jkelleyrtp Aug 1, 2025
a796636
wip
jkelleyrtp Aug 2, 2025
a45e372
wip
jkelleyrtp Aug 5, 2025
2bcbf07
Merge remote-tracking branch 'origin/main' into jk/telemetry
jkelleyrtp Aug 5, 2025
f264cbf
merge cnflict
jkelleyrtp Aug 5, 2025
a2141da
other merg conflict
jkelleyrtp Aug 5, 2025
1fd0f37
migrate everything from telemetry to logging
jkelleyrtp Aug 6, 2025
ba1ff7c
update docs
jkelleyrtp Aug 6, 2025
d9c7e27
wip... about to merge trace controller
jkelleyrtp Aug 6, 2025
b79f12e
lil bit more refactor to clean up tracer
jkelleyrtp Aug 7, 2025
a6c5a34
more performant log writer
jkelleyrtp Aug 7, 2025
c0868ee
cleanup ci detecting
jkelleyrtp Aug 7, 2025
eb2e92f
wire up to posthog
jkelleyrtp Aug 7, 2025
2f86635
re-uploads work
jkelleyrtp Aug 7, 2025
475a849
yoink out the anon from each file
jkelleyrtp Aug 7, 2025
9bf6544
cleanup sig
jkelleyrtp Aug 7, 2025
84e0b75
lil bit cleaner
jkelleyrtp Aug 7, 2025
862d93a
dont write empty files
jkelleyrtp Aug 7, 2025
5634dfa
wip log handler
jkelleyrtp Aug 7, 2025
cc42e9a
fmt
jkelleyrtp Aug 7, 2025
09b18ef
cleanup logging of backtraces
jkelleyrtp Aug 8, 2025
45a504f
add proper backtrace support
jkelleyrtp Aug 8, 2025
78ada7f
use stable reporter
jkelleyrtp Aug 8, 2025
fa99427
adhere to posthog format
jkelleyrtp Aug 8, 2025
a946751
fix stacktraces
jkelleyrtp Aug 8, 2025
1c23c31
use anyhow for capturing backtraces
jkelleyrtp Aug 8, 2025
fb4c850
I think we're done?
jkelleyrtp Aug 8, 2025
4a46d2a
cleanup logging
jkelleyrtp Aug 8, 2025
884c2bc
properly collect!
jkelleyrtp Aug 9, 2025
49767ce
move out keycode handling
jkelleyrtp Aug 9, 2025
db2db54
she works
jkelleyrtp Aug 9, 2025
b727fe9
typo
jkelleyrtp Aug 9, 2025
4798a2f
add extra fields
jkelleyrtp Aug 9, 2025
ae1b71e
fix cargo doc
jkelleyrtp Aug 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 93 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 14 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ members = [
"packages/core-types",
"packages/cli",
"packages/cli-opt",
"packages/cli-config",
"packages/cli-telemetry",
"packages/core-types",
"packages/core-macro",
"packages/config-macro",
Expand All @@ -22,8 +24,6 @@ members = [
"packages/liveview",
"packages/autofmt",
"packages/check",
"packages/cli-config",
"packages/cli",
"packages/config-macro",
"packages/core-macro",
"packages/core-types",
Expand Down Expand Up @@ -140,6 +140,7 @@ version = "0.7.0-alpha.3"
# dependencies that are shared across packages
[workspace.dependencies]
dioxus = { path = "packages/dioxus", version = "0.7.0-alpha.3" }
dioxus-lib = { path = "packages/dioxus-lib", version = "0.7.0-alpha.3" }
dioxus-core = { path = "packages/core", version = "0.7.0-alpha.3" }
dioxus-core-types = { path = "packages/core-types", version = "0.7.0-alpha.3" }
dioxus-core-macro = { path = "packages/core-macro", version = "0.7.0-alpha.3" }
Expand All @@ -155,6 +156,7 @@ dioxus-web = { path = "packages/web", version = "0.7.0-alpha.3", default-feature
dioxus-isrg = { path = "packages/isrg", version = "0.7.0-alpha.3" }
dioxus-ssr = { path = "packages/ssr", version = "0.7.0-alpha.3", default-features = false }
dioxus-desktop = { path = "packages/desktop", version = "0.7.0-alpha.3", default-features = false }
dioxus-mobile = { path = "packages/mobile", version = "0.7.0-alpha.3" }
dioxus-interpreter-js = { path = "packages/interpreter", version = "0.7.0-alpha.3" }
dioxus-liveview = { path = "packages/liveview", version = "0.7.0-alpha.3" }
dioxus-autofmt = { path = "packages/autofmt", version = "0.7.0-alpha.3" }
Expand All @@ -165,8 +167,6 @@ dioxus-rsx-rosetta = { path = "packages/rsx-rosetta", version = "0.7.0-alpha.3"
dioxus-signals = { path = "packages/signals", version = "0.7.0-alpha.3" }
dioxus-stores = { path = "packages/stores", version = "0.7.0-alpha.3" }
dioxus-stores-macro = { path = "packages/stores-macro", version = "0.7.0-alpha.3" }
dioxus-cli-config = { path = "packages/cli-config", version = "0.7.0-alpha.3" }
dioxus-cli-opt = { path = "packages/cli-opt", version = "0.7.0-alpha.3" }
dioxus-devtools = { path = "packages/devtools", version = "0.7.0-alpha.3" }
dioxus-devtools-types = { path = "packages/devtools-types", version = "0.7.0-alpha.3" }
dioxus-server = { path = "packages/server", version = "0.7.0-alpha.3" }
Expand All @@ -180,11 +180,19 @@ dioxus-native = { path = "packages/native", version = "0.7.0-alpha.3" }
dioxus-native-dom = { path = "packages/native-dom", version = "0.7.0-alpha.3" }
dioxus-asset-resolver = { path = "packages/asset-resolver", version = "0.7.0-alpha.3" }
dioxus-config-macros = { path = "packages/config-macros", version = "0.7.0-alpha.3" }
const-serialize = { path = "packages/const-serialize", version = "0.7.0-alpha.3" }
const-serialize-macro = { path = "packages/const-serialize-macro", version = "0.7.0-alpha.3" }

generational-box = { path = "packages/generational-box", version = "0.7.0-alpha.3" }
lazy-js-bundle = { path = "packages/lazy-js-bundle", version = "0.7.0-alpha.3" }

# cli
dioxus-cli-opt = { path = "packages/cli-opt", version = "0.7.0-alpha.0" }
dioxus-cli-telemetry = { path = "packages/cli-telemetry", version = "0.7.0-alpha.0" }
dioxus-cli-config = { path = "packages/cli-config", version = "0.7.0-alpha.0" }

# const-serializea
const-serialize = { path = "packages/const-serialize", version = "0.7.0-alpha.0" }
const-serialize-macro = { path = "packages/const-serialize-macro", version = "0.7.0-alpha.0" }

# subsecond
subsecond-types = { path = "packages/subsecond/subsecond-types", version = "0.7.0-alpha.3" }
subsecond = { path = "packages/subsecond/subsecond", version = "0.7.0-alpha.3" }
Expand Down
13 changes: 13 additions & 0 deletions packages/cli-telemetry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "dioxus-cli-telemetry"
edition = "2021"
version.workspace = true
description = "Wire format for the dioxus CLI telemetry type"

[dependencies]
serde = { workspace = true, features = ["derive"] }
chrono = { workspace = true, features = ["serde"] }
rand = { workspace = true }
serde_json = { workspace = true }
dirs = { workspace = true }
uuid = { workspace = true, features = ["serde", "v4"] }
Loading
Loading