Merge pull request #50 from dylanschultzie/patch-2

Add installation instructions
This commit is contained in:
Jeff Schroeder 2024-10-22 10:41:46 -04:00 committed by GitHub
commit 073ac804ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 0 deletions

View File

@ -27,6 +27,16 @@ Metrics with no confirmation level:
- **solana_node_version** - Current solana-validator node version.
## Installation
`solana_exporter` can be installed by doing the following. It's assumed you already have `go` installed.
```sh
git clone https://github.com/asymmetric-research/solana_exporter.git
cd solana_exporter
CGO_ENABLED=0 go build ./cmd/solana_exporter
```
## Command line arguments
You typically only need to set the RPC URL, pointing to one of your own nodes: