Repository navigation
Anonymous usage statistics for the hub: launch and heartbeat - #5
Merged
Merged
Conversation
Настройка «Отправлять анонимную статистику» включена по умолчанию. Уходят только install_id, версия, система и архитектура; по пульсу хаб считает онлайн. Отладочная сборка ничего не шлёт. reqwest и rustls — те же, что у плагина обновлений, новых пакетов нет. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Feargin
added a commit
that referenced
this pull request
Oct 10, 2026
Anonymous usage statistics for the hub: launch and heartbeat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
src-tauri/src/stats.rs: alaunchevent at startup, then aheartbeatevery 5 minutes while the app runs, toPOST https://hub.proanima.net/v1/sketchover/events. The hub counts who is online from the heartbeat.install_id, the app version, the OS (darwinfor macOS, as in update checks) and the architecture are sent. Debug builds send nothing.reqwestandrustlsuse the same versions and features astauri-plugin-updater: no new packages inCargo.lock.[0.3.0].Checked
npm run check,npm test,cargo fmt,cargo clippy --all-targets -D warnings,cargo test— clean.https://hub.proanima.net/health(200).npm startbuilds and launches the app.The hub already accepts
heartbeat(ProAnima/pas-Hubmain).🤖 Generated with Claude Code