summaryrefslogtreecommitdiffstats
path: root/src/metrics.c
Commit message (Collapse)AuthorAgeFilesLines
* 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