Skip to content

Commit

Permalink
docs: add metrics image
Browse files Browse the repository at this point in the history
  • Loading branch information
avtakkar committed Apr 8, 2024
1 parent 231c0f8 commit b71ac9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,33 +68,7 @@ prefixed with `libp2p_`.

#### Examples on a 5 node AKS cluster, node sizes: `Standard_D2s_v3` and `Standard_D8ds_v5`

1. How long does it take for a node to find a peer that has a key?

```promql
sum(histogram_quantile(0.95, peerd_peer_discovery_duration_seconds_bucket)) by (self)
```
| Node | Time (s) |
| ----------- | -------- |
| peerd-xkjm | 0.0156 |
| peerd-j6kf4 | 0.0619 |
| peerd-pj68b | 0.0451 |
| peerd-v8ndj | 0.0054 |
| peerd-8csx9 | 0.00834 |
2. Peer download speed distribution?
```promql
sum(histogram_quantile(0.95, peerd_peer_response_speed_mib_per_second_bucket)) by (self)
```
| Node | Throughput (MiB/s) |
| ----------- | ------------------ |
| peerd-xkjm | 173 |
| peerd-j6kf4 | 260 |
| peerd-pj68b | 118 |
| peerd-v8ndj | 333 |
| peerd-8csx9 | 324 |
<img src="./assets/images/peer-metrics.png" alt="peer metrics" width="1000">

## Features

Expand Down
Binary file added assets/images/peer-metrics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b71ac9f

Please sign in to comment.