-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Task
3 / 33 of 3 issues completed
Copy link
Labels
- Developer -Torrust Improvement ExperienceTorrust Improvement ExperienceCode Cleanup / RefactoringTidying and Making NeatTidying and Making NeatEPICContains several subissuesContains several subissues
Description
Relates to: #1341 (comment)
In order to start collecting metrics per socket address (segregate metrics per tracker service running on a different socket) we need to add more than one listener. There will be one listener per service that will update the metrics for that service.
Right now, the "factory" stats function creates both the event sender and the listener. We need to be able to:
- Create one sender that can be shared.
- Be able to create many listeners (subscribe listeners to events). One listener per socket.
For the time being we will keep the logic inside the statistics
module. However, after finishing the overhaul of the stats we will decouple events from stats. In the future events might be used for other purposes, not only collecting metrics.
cc @da2ce7
Sub-issues
Metadata
Metadata
Assignees
Labels
- Developer -Torrust Improvement ExperienceTorrust Improvement ExperienceCode Cleanup / RefactoringTidying and Making NeatTidying and Making NeatEPICContains several subissuesContains several subissues