Skip to content

Overhaul stats #1327

@josecelano

Description

@josecelano

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

Sub-issues

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions