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

Overhaul stats #1327

Open
josecelano opened this issue Feb 26, 2025 · 0 comments
Open

Overhaul stats #1327

josecelano opened this issue Feb 26, 2025 · 0 comments
Assignees
Labels
- Developer - Torrust Improvement Experience Code Cleanup / Refactoring Tidying and Making Neat EPIC Contains several subissues

Comments

@josecelano
Copy link
Member

josecelano commented Feb 26, 2025

Depends on: #1319
Relates to: #1368

There are some inconsistencies in how we handle stats events and also some things that can be improved.

I'm also considering keeping metrics for each socket in addition to the aggregate metrics. We are currently collecting single aggregated metrics for for all servers (grouped by UDP or HTTP trackers).

UPDATE 2025-03-17

This refactor is needed to enrich events. The final goal is to expose those events to allow third-party consumers build their metrics. For example: you can create your event listeners to collects metrics for your private Index from Torrust Tracker.

cc @da2ce7

Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- Developer - Torrust Improvement Experience Code Cleanup / Refactoring Tidying and Making Neat EPIC Contains several subissues
Projects
None yet
Development

No branches or pull requests

1 participant