Commit Graph

29 Commits

Author SHA1 Message Date
sukun 2d45a88295 autonatv2: add metrics (#3308) 2025-06-12 21:48:16 +05:30
Carlos Peliciari e13d4deb94 chore(dashboard/alertmanager): update api version from v1 to v2 (#3054) 2024-11-20 16:51:36 -08:00
sukun af2042c2ce swarm: add a peer dial latency metric (#2959) 2024-10-16 20:03:24 -07:00
sukun ee0ac60d3f autonatv2: add server metrics for dial requests (#2848) 2024-07-02 16:00:52 +05:30
Alexandr Burdiyan 0d52da2c02 swarm: fix grafana dashboard templating (#2640) 2023-11-27 12:42:25 +05:30
Alexandr Burdiyan 50cf207b14 chore: add resource manager dashboard to docker-compose (#2641) 2023-11-18 13:53:26 +03:00
Sukun 99f845300d dashboards: improve naming for black hole panel (#2539)
* dashboards: improve naming for black hole panel

* fix dashboard name too
2023-08-30 02:51:19 -07:00
Sukun 1153b1b86b swarm: track dial cancellation reason (#2532)
* swarm: track dial cancellation reason

* fix no alloc test

* address review comments

* update panel colors
2023-08-29 19:44:06 -07:00
Sukun 5622bc35c2 metrics: update dashboard names from libp2p to go-libp2p (#2512) 2023-08-23 11:23:38 -07:00
Prithvi Shahi a1d44fb74a chore: be more descriptive about where public dashboards come from (#2508) 2023-08-22 15:44:11 -07:00
Sukun c97fce88bf metrics: add links to public dashboards (#2486)
* metrics: add links to public dashboards

* add dashboards to top readme

---------

Co-authored-by: Prithvi Shahi <shahi.prithvi@gmail.com>
2023-08-15 10:30:31 -07:00
Marco Munizaga 24c50ea92a rcmgr: enable metrics by default (#2389) (#2409)
Co-authored-by: Sukun <sukunrt@gmail.com>
2023-07-05 20:45:51 -07:00
Marco Munizaga 5bd6cbc9a1 metrics: deduplicate code in examples (#2404)
* Dedup code in metrics examples

* Readme tweaks

* Remove unused code

* Remove unused code

* Use extra_hosts for grafana on linux
2023-07-01 12:32:45 -07:00
Marten Seemann d616720a16 metrics: provide separate docker-compose files for OSX and Linux (#2397)
* metrics: provide separate docker-compose files for OSX and Linux

* Update dashboards/README.md

Co-authored-by: Marco Munizaga <git@marcopolo.io>

---------

Co-authored-by: Marco Munizaga <git@marcopolo.io>
2023-06-28 07:51:02 -07:00
Sukun 173fef8a2e rcmgr: move StatsTraceReporter to rcmgr package (#2388) 2023-06-27 22:53:44 -07:00
Sukun 1e31d70533 swarm: implement blackhole detection (#2320)
* swarm: implement blackhole detection

* address review comments
2023-06-27 12:40:06 -07:00
Sukun dfaeb7ed48 rcmgr: register prometheus metrics with the libp2p registerer (#2370)
* rcmgr: register prometheus metrics with the libp2p registerer

* update dashboard readme
2023-06-21 03:44:27 -07:00
Marten Seemann 139af10806 metrics: make it possible to spin up Grafana using docker-compose (#2383)
* metrics: make it possible to spin up Grafana using docker-compose

* Update dashboards/README.md

Co-authored-by: Prithvi Shahi <shahi.prithvi@gmail.com>

* disable Grafana authentication

* add holepunch dashboard

---------

Co-authored-by: Prithvi Shahi <shahi.prithvi@gmail.com>
2023-06-21 03:23:35 -07:00
Marco Munizaga 22c45a11bb metrics: add example for metrics and dashboard (#2232) 2023-06-15 19:43:58 -07:00
Marten Seemann 3206862676 dashboards: finish metrics effort (#2362) 2023-06-15 19:06:47 -07:00
Sukun 73c34f98da holepunch: add metrics (#2246)
* holepunch: add metrics

* don't track addresses

* add cancelled and no_suitable_address state

* separate holepunch dashbords by transport

* fix dashboard fields

* add instance filter to dashboard

* initialise metrics labels with 0

* fix panel names in dashboard

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

---------

Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2023-06-05 05:41:26 -07:00
Sukun 6f27081cac swarm: implement smart dialing logic (#2260)
* implement smart dialing

* add more comments and tests

* change address ranking logic to dial one quic address before others

* add randomized worker loop tests

* simplify priority queue implementation

* improve DialRanker docs

* one more test

* add explanatory comments and rename variables

* fix allocations in dialQueue

* fix allocations in dialRanker

* Apply suggestions from code review

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

* fix comments

* add logging

* add holepunching test

* add metrics for tracking dial prioritisation impact

clean up redundant address filtering committed

* add test for webtransport filtering

* update changelog

* fix flaky test

* update dashboard

* update dial ranking delay dashboard to use pie chart

* change <=1ms label to 'No delay' in dashboard

* add defensive check to map presence

---------

Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2023-06-03 23:56:58 -07:00
Sukun 01651d206f metrics: add instance filter to all dashboards (#2301)
* metrics: update dashboards to support multiple instances

* update file permissions
2023-05-20 13:57:33 -07:00
Sukun 15ec149403 autorelay: add metrics (#2185)
* autorelay: add metrics
metrics added:
relay finder status

reservation request outcomes
current reservations

candidate circuit v2 support
current candidates

relay addresses updated
num relay address

scheduled work times

* autorelay: fix refresh reservations bug

* fix max value hack

* improve tracking errors in reservation requests

* fix config-query in grafana

* add candidate loop state panel

* fix logging

* reset metrics on relayfinder stop

* update dashboard

* update dashboard
2023-04-05 16:27:26 -07:00
Sukun bfc6fc30de relay service: add metrics (#2154)
* relay service: add metrics

Metrics Added:

ReservationRequest: Opened, Closed, Renewed
ReservationRequestResponseStatus
ReservationRejectionReason

ConnectionRequest: Opened, Closed
ConnectionRequestResponseStatus
ConnectionRejectionReason
ConnectionDuration

BytesTransferred

RelayStatus

* add dashboard and changelog

* bugfix

* add metrics tests

* address review comments

* rename dashboard

* address review comments

* change label to rolling avg
2023-03-07 01:26:37 -08:00
Sukun f7bf9d85bb identify: add more detailed metrics (#2126)
* add identify metrics

metrics added:
address count
protocol count
peer push support

* address review changes

* update dashboards
2023-02-22 23:29:57 -08:00
Sukun b2f119901f swarm: add early muxer selection to swarm metrics (#2119)
* add early muxer selection to swarm metrics

* add pie chart for current early muxer connections
2023-02-21 22:06:06 -08:00
Sukun d9004d21b4 swarm: add ip_version to metrics (#2114)
* add ip_version to swarm metrics

* use "unknown" as a default for the IP version

---------

Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2023-02-18 15:11:18 -08:00
Prithvi Shahi d42a06d1e6 chore: unify dashboard location (#2110) 2023-02-16 12:46:43 -08:00