Skip to content

Commit

Permalink
relay service: add metrics (#2154)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
sukunrt committed Mar 7, 2023
1 parent 5330570 commit bfc6fc3
Show file tree
Hide file tree
Showing 7 changed files with 1,645 additions and 33 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ This patch release fixes two bugs:

**Full Changelog**: https://github.com/libp2p/go-libp2p/compare/v0.26.0...v0.26.1

# [v0.27.0](https://github.com/libp2p/go-libp2p/releases/tag/v0.27.0)

## 🔦 Highlights <!-- omit in toc -->

### Additional metrics <!-- omit in toc -->
Since the last release, we've added metrics for:
* [Relay Service](https://github.com/libp2p/go-libp2p/pull/2154): RequestStatus, RequestCounts, RejectionReasons for Reservation and Connection Requests,
ConnectionDuration, BytesTransferred, Relay Service Status.


# [v0.26.0](https://github.com/libp2p/go-libp2p/releases/tag/v0.26.0)

## 🔦 Highlights <!-- omit in toc -->
Expand Down
Loading

0 comments on commit bfc6fc3

Please sign in to comment.