Skip to content

Overhaul stats: Add extendable-labeled metrics to the tracker-core package #1437

@josecelano

Description

@josecelano

Depends on:

As I have mentioned here I could not add extendable-labeled metrics for torrents and peers in this issue because I first need to add events to the tracker-core package.

The missing metrics are:

Torrents

tracker_core_torrents_total (counter)

#tracker_core_torrents_active_total (counter)

Peers

tracker_core_peers_completed_total (counter)
tracker_core_peers_seeders_total (counter)
tracker_core_peers_leechers_total (counter)

#tracker_core_peers_connected_peers_total (counter)
#tracker_core_peers_peers_seeding_only_total (counter)
#tracker_core_peers_peers_leeching_only_total (counter)
#tracker_core_peers_peers_seeding_and_leeching_total (counter)

NOTE: Commented metrics (starting with #) are the extra ones we want to include that are not included in the current /stats endpoint.

Metadata

Metadata

Assignees

Labels

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions