Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit Analytics Send Rate #3419

Open
m3taphysics opened this issue Feb 24, 2025 · 0 comments · May be fixed by #3420
Open

Limit Analytics Send Rate #3419

m3taphysics opened this issue Feb 24, 2025 · 0 comments · May be fixed by #3420
Assignees
Labels
0-critical Highly important issues that should be prioritised ft internal tag

Comments

@m3taphysics
Copy link
Collaborator

m3taphysics commented Feb 24, 2025

Description

We discovered Analytics is potentially generating 15-30 events per second with no cap. This must be reviewed.

Analytics uses AutoBatcher:

unity-explorer/Explorer/Assets/Plugins/RustSegment/rust-segment/src/server.rs

let auto_batcher = AutoBatcher::new(client, batcher, writer_key);
Which will flush when its full, without a specific send-rate:

https://docs.rs/segment/latest/segment/struct.AutoBatcher.html

@m3taphysics m3taphysics added 0-critical Highly important issues that should be prioritised ft internal tag labels Feb 24, 2025
@github-actions github-actions bot added the new Issues to triage label Feb 24, 2025
@NickKhalow NickKhalow linked a pull request Feb 24, 2025 that will close this issue
@m3taphysics m3taphysics removed the new Issues to triage label Feb 24, 2025
@NickKhalow NickKhalow moved this from Todo to In Progress in Explorer Alpha Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-critical Highly important issues that should be prioritised ft internal tag
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants