Skip to content

Commit

Permalink
local grafana adds metrics collection for benchmark clients (MystenLa…
Browse files Browse the repository at this point in the history
…bs#15454)

## Description 

Added benchmark client metrics collection for analyzing client side
metrics. 8081 is the default port and also adds a few custom port.

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
  • Loading branch information
halfprice authored Dec 21, 2023
1 parent 80b1d97 commit 0a4182d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docker/grafana-local/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,24 @@ scrape_configs:
labels:
host: validator3
network: local
- job_name: "Client_1"
static_configs:
- targets: ["host.docker.internal:8081"]
labels:
host: client1
network: local
- job_name: "Client_2"
static_configs:
- targets: ["host.docker.internal:8082"]
labels:
host: client2
network: local
- job_name: "Client_3"
static_configs:
- targets: ["host.docker.internal:8083"]
labels:
host: client3
network: local
- job_name: "tempo"
static_configs:
- targets: ["tempo:3200"]
Expand Down

0 comments on commit 0a4182d

Please sign in to comment.