Leopold Schabel
|
5353cabca8
|
Update README.md
|
2020-06-08 17:29:42 +02:00 |
Leo
|
350e83f1ca
|
Create README.md
Fixes T675
|
2020-06-08 17:23:22 +02:00 |
Leopold Schabel
|
73e8cae42b
|
Add example dashboard
|
2020-06-08 16:08:57 +02:00 |
Leopold Schabel
|
43f8293717
|
Use vote_pubkey as primary key
The vote key is the primary key, the node identity can change
(and does not actually matter, the authorized voter does).
|
2020-06-08 15:42:45 +02:00 |
Leopold Schabel
|
ec50e7ccef
|
Set bank commitment level to recent
This includes unrooted votes.
Ref T666
|
2020-06-08 15:42:42 +02:00 |
Leopold Schabel
|
1e317bf2d3
|
Use node key rather than vote key as pubkey tag
|
2020-06-08 15:42:41 +02:00 |
Leopold Schabel
|
46650ade21
|
Disable CGO
Won't work in a scratch image
|
2020-06-08 15:42:39 +02:00 |
Leopold Schabel
|
08e7d1d792
|
Add Dockerfile
|
2020-06-08 15:42:37 +02:00 |
Leopold Schabel
|
6418a7d90a
|
Implement solana exporter
Test Plan:
```
$ curl -s localhost:8080/metrics | grep ^solana | head -n 2
solana_active_validators{state="current"} 55
solana_active_validators{state="delinquent"} 3
$ curl -s localhost:8080/metrics | grep GaPde6VAj6EqheqFNiEALLAZKuKYJ9B8wYDr3WDgNM69
solana_validator_activated_stake{pubkey="GaPde6VAj6EqheqFNiEALLAZKuKYJ9B8wYDr3WDgNM69"} 6.7028325569004e+13
solana_validator_last_vote{pubkey="GaPde6VAj6EqheqFNiEALLAZKuKYJ9B8wYDr3WDgNM69"} 1.124376e+06
solana_validator_root_slot{pubkey="GaPde6VAj6EqheqFNiEALLAZKuKYJ9B8wYDr3WDgNM69"} 1.124339e+06
```
If an error occurs, the scrape fails.
Origin-Revision: http://rev/D360
|
2020-06-08 15:40:19 +02:00 |
Leopold Schabel
|
5b1886afe5
|
Init commit
|
2020-01-31 14:53:39 +01:00 |