Commit Graph

25 Commits

Author SHA1 Message Date
Leopold Schabel 4db1d1ba23 README.md: document solana_node_version 2022-08-11 15:46:07 +02:00
Eran Davidovich 16c8b10324
Solana node version metric (#9) 2022-08-10 19:13:08 +02:00
Leopold Schabel 5873f07cb1
Merge pull request #8 from naei/feature/votepubkey 2022-07-29 18:05:06 +02:00
Lucas P dea0bd7a27 Add votePubkey optional parameter 2022-07-29 14:43:52 +02:00
Leopold Schabel e72bebd6a9
Create LICENSE 2021-03-28 23:03:03 +02:00
Leo 7a6ccbcabc Fix typo 2021-02-12 21:21:01 +01:00
Leo 8bb41130ce Reduce loglevel for "confirmed blocks" 2021-01-04 01:21:41 +01:00
Leo b988b26a1d Update Go and set entrypoint instead of command 2021-01-04 01:11:25 +01:00
Leo 2256352668 Update README.md 2021-01-04 01:11:25 +01:00
Leo 57344b51fb Add node key label in addition to vote key 2021-01-04 01:11:25 +01:00
Leo a87b361b9a Implement skip rate tracking 2021-01-04 01:11:19 +01:00
Leo a9ec76867e Rename collector receiver to *c 2021-01-04 00:35:35 +01:00
Leo 430e628a92 Refactor out RPC call boilerplate 2021-01-04 00:35:35 +01:00
Leo 5ea21e2e6d Refactor RPC into separate package 2021-01-04 00:35:35 +01:00
Leopold Schabel c231590314
Update README.md 2020-11-13 11:21:17 +01:00
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