summaryrefslogtreecommitdiffstats
path: root/src/metrics.c
Commit message (Collapse)AuthorAgeFilesLines
* Add metric for peers fetched from tableJesper Jensen2025-06-211-0/+10
| | | | | It would be nice to know a little bit about how useful we are to the swarm.
* Add content-type to metrics pageJesper Jensen2025-06-141-0/+1
|
* Add metric for discarded packetsJesper Jensen2025-05-111-0/+10
|
* Add metric for wakeup timeJesper Jensen2025-05-061-0/+11
|
* Expose the hash table size as a metricJesper Jensen2025-05-041-0/+10
|
* Add metric to track next hash expireJesper Jensen2025-05-041-0/+10
|
* Remove unused metricJesper Jensen2025-05-041-10/+0
|
* Refactor lookup init and add routing table metricJesper Jensen2025-05-041-0/+20
| | | | | | | I think it would be nice to see the detailed routing table occupancy. I've added a metric that exposes the current occupancy of each bucket. That should provide me some insight into the current distribution of nodes and if we need to find a way to keep the closer buckets alive.
* Expose the number of keepalive pings we sendJesper Jensen2025-04-151-0/+10
|
* Add current hash metricJesper Jensen2025-04-141-0/+10
| | | | | It seems like it would be nice to know how many infohashes we actually know about. Let's add a guage that tells us that directly.
* Use the normal dht port and rename some metricsJesper Jensen2025-04-131-12/+12
|
* Expose the query type as a metric labelJesper Jensen2025-04-131-2/+2
|
* Add prometheus monitoringJesper Jensen2025-04-121-0/+193