Skip to content

Commit

Permalink
Fix grafana datasource for all clients
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Nov 19, 2020
1 parent c6c3da2 commit 7858ea1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Currently supported clients:

Currently supported optional components:
- geth, local eth1 node.
- nethermind, local eth1 node - testing only, DB corruption observed on goerli
- nethermind, local eth1 node - testing only, DB corruption observed on goerli and mainnet
- openethereum, local eth1 node - testing only, DB corruption observed on mainnet
> Use one of the local eth1 node options or a 3rd-party provider of eth1 chain data to "feed"
> your eth2 beacon node, so you can [propose](https://ethos.dev/beacon-chain/) blocks.
Expand Down Expand Up @@ -205,11 +205,10 @@ A baseline set of dashboards has been included.
- [Prysm Dashboard JSON](https://raw.githubusercontent.com/GuillaumeMiralles/prysm-grafana-dashboard/master/less_10_validators.json)
- [Prysm Dashboard JSON for more than 10 validators](https://raw.githubusercontent.com/GuillaumeMiralles/prysm-grafana-dashboard/master/more_10_validators.json)

In order to load Dashboards for other clients, follow these instructions

- Connect to http://YOURSERVERIP:3000/, log in as admin/admin, set a new password
- Create a new datasource under the Gear icon, datasources, and choose prometheus with a URL of `http://prometheus:9090`. If that data source already exists,
this step can be skipped.

In order to load Dashboards for other clients, follow these instructions

- Import a Dashboard. Click on the + icon on the left, choose "Import". Copy/paste JSON code from one of the client dashboard links below (click anywhere inside the page
the link gets you to, use Ctrl-a to select all and Ctrl-C to copy), click "Load", choose the "prometheus" data source you just configured, click "Import".
- For Teku, you can use the grafana.com URL instead of raw JSON.
Expand Down
8 changes: 4 additions & 4 deletions SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Please choose:
* Nimbus
* Your source of eth1 data
* geth
* nethermind - testing only, DB corruption observed on goerli
* openethereum - testing only, DB corruption observed on main net
* nethermind - testing only, DB corruption observed on goerli and mainnet
* openethereum - testing only, DB corruption observed on mainnet
* 3rd-party
* Whether to run a slasher (experimental for Prysm)
* Whether to run a grafana dashboard for monitoring
Expand Down Expand Up @@ -99,8 +99,8 @@ openethereum with `:` between the file names.
- `teku-base.yml` - Teku
- `nimbus-base.yml` - Nimbus
- `geth.yml` - local geth eth1 chain node
- `nm.yml` - local nethermind eth1 chain node - testing only, DB corruptionb observed on goerli
- `oe.yml` - local openethereum eth1 chain node - testing only, DB corruption observed on main net
- `nm.yml` - local nethermind eth1 chain node - testing only, DB corruptionb observed on goerli and mainnet
- `oe.yml` - local openethereum eth1 chain node - testing only, DB corruption observed on mainnet
- `eth1-shared.yml` - makes the RPC port of the eth1 node available from the host, for using the eth1 node with other nodes or with Metamask. **Not encrypted**, do not expose to Internet.
- `eth1-standalone.yml` - like eth1-shared but for running *just* eth1, instead of running it alongside a beacon node in the same "stack". Also not encrypted, not meant for a fully distributed setup quite yet.
- `prysm-slasher.yml` - Prysm experimental Slasher which helps secure the chain and may result in additional earnings. The experimental slasher can lead to missed attestations do to the additional resource demand.
Expand Down
4 changes: 3 additions & 1 deletion lh-grafana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ services:
- 9100/tcp
grafana:
restart: "${RESTART}"
image: grafana/grafana
build:
context: ./grafana
image: grafana
volumes:
- grafana-data:/var/lib/grafana
depends_on:
Expand Down
4 changes: 3 additions & 1 deletion nimbus-grafana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ services:
- 9100/tcp
grafana:
restart: "${RESTART}"
image: grafana/grafana
build:
context: ./grafana
image: grafana
volumes:
- grafana-data:/var/lib/grafana
depends_on:
Expand Down
4 changes: 3 additions & 1 deletion teku-grafana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ services:
- 9100/tcp
grafana:
restart: "${RESTART}"
image: grafana/grafana
build:
context: ./grafana
image: grafana
volumes:
- grafana-data:/var/lib/grafana
depends_on:
Expand Down

0 comments on commit 7858ea1

Please sign in to comment.