You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download prebuild binary from [releases](https://github.com/NodeFactoryIo/vedran/releases).
53
-
Be careful to chose appropriate binary depending on your OS. For more details on how to run _vedran loadbalancer_ see [Starting loadbalancer](#starting-loadbalancer) part.
54
+
Download prebuild binary from [releases](https://github.com/NodeFactoryIo/vedran/releases).
55
+
Be careful to chose appropriate binary depending on your OS. For more details on how to run _vedran loadbalancer_ see [Starting loadbalancer](#starting-loadbalancer) part.
54
56
55
57
## Get **vedran** package
56
-
Alternatively, it is possible to get _vedran_ golang package:
58
+
Alternatively, it is possible to get _vedran_ golang package:
57
59
1. Install [Golang](https://golang.org/doc/install)**1.15 or greater**
58
60
2. Run the command below
59
61
```
@@ -74,12 +76,12 @@ Load balancer is started by invoking **start** command.
74
76
75
77
For example `./vedran start --auth-secret=supersecret --private-key=lb-wallet-private-key`.
76
78
77
-
For more information you can always run vedran with `--help` flag.
79
+
For more information you can always run vedran with `--help` flag.
78
80
For list of all commands run `vedran --help` or for list of all options for specific command run `vedran start --help`.
79
81
80
82
**Load balancer will expose Polkadot RPC API on port 80 by default (can be changed using flag `--server-port`)**
81
83
82
-
Vedran loadbalancer supports both **HTTP** and **Websockets** protocols for Polkadot RPC API.
84
+
Vedran loadbalancer supports both **HTTP** and **Websockets** protocols for Polkadot RPC API.
83
85
84
86
-**HTTP - available on root path**`/`
85
87
-**WS - available on separate path**`/ws`
@@ -162,7 +164,7 @@ Additionally, it is possible to change URL on which payout script will connect w
162
164
### Get private key
163
165
You can use [subkey](https://substrate.dev/docs/en/knowledgebase/integrate/subkey) tool to get private key for your wallet.
164
166
165
-
After installing subkey tool call `subkey inspect "insert your mnemonic here"`.
167
+
After installing subkey tool call `subkey inspect "insert your mnemonic here"`.
166
168
You can find private key as _Secreet seed_. See example output of subkey command:
167
169
168
170
```
@@ -172,6 +174,27 @@ You can find private key as _Secreet seed_. See example output of subkey command
Should be configured to fetch data from prometheus server as data source [Tutorial](https://prometheus.io/docs/visualization/grafana/).
189
+
190
+
Should have a dashboard that visualizes data scraped from prometheus server. Example configuration can be found [here](./infra/grafana/provisioning/dashboards/vedran-dashboard.json) and can be imported like [this](https://grafana.com/docs/grafana/latest/dashboards/export-import/#importing-a-dashboard).
191
+
192
+
193
+
-### Prometheus
194
+
Prometheus should be configured to scrape metrics from vedran's `/metrics` endpoint
195
+
via prometheus .yml configuration. Example of which can be found [here](./infra/prometheus/prometheus.yml)
0 commit comments