https://github.com/rpcpool/sui-exporter
Simple Prometheus SUI exporter
https://github.com/rpcpool/sui-exporter
Last synced: 9 months ago
JSON representation
Simple Prometheus SUI exporter
- Host: GitHub
- URL: https://github.com/rpcpool/sui-exporter
- Owner: rpcpool
- Created: 2023-01-26T16:03:33.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-13T15:13:32.000Z (almost 3 years ago)
- Last Synced: 2025-05-12T19:49:16.568Z (10 months ago)
- Language: Go
- Size: 61.5 KB
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SUI Prometheus Exporter
Exports various details that are interesting for SUI validators.
To build:
```
go build -o sui-exporter ./cmd/sui-exporter
```
To run, put it in a systemd unit:
```
[Unit]
Description=Simple SUI prometheus exporter
[Service]
Type=simple
ExecStart=/usr/local/bin/sui_exporter
KillMode=process
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
```
# Metrics exported
## Base metrics
Details about current SUI state like gas price, epoch starts, stake and transaction number.
## Checkpoint metrics
Details about checkpoints, including computation cost and storage cost.
Disable with ```-enable-checkpoint-metrics=false```
## Validator metrics
Details about the validators on their network such as their gas price survey items and compute costs as well as stake balances.
Disable with ```-enable-validator-metrics=false```
# License
MIT
# Attribution
This software was developed by Triton One (https://triton.one). Patches, suggestions and improvements are always welcome.