You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
rridley 993c1c9524
Misc cleanup
2 weeks ago
.gitignore Cleanup code a little bit, add peer uptime 2 weeks ago
Makefile Remove debug code 2 weeks ago
README.md Update readme 2 weeks ago
go.mod Fix module name 2 weeks ago
main.go Misc cleanup 2 weeks ago

README.md

Prometheus Yggdrasil Exporter

Exposes metrics data from Yggdrasil as a prometheus endpoint.

Has no external dependencies.

Building

go build -o yggdrasil_exporter .

Running

Specify the admin endpoint using the -e flag like so:

./yggdrasil_exporter -e unix:///var/run/yggdrasil.sock

Metrics

You can see the metrics by just using curl

curl http://localhost:3000/metrics
yggdrasil_peer_bytes_sent{peer="200:28c9:944b:2376:2017:3250:bdb4:7c0d"} 6054
yggdrasil_peer_bytes_received{peer="200:28c9:944b:2376:2017:3250:bdb4:7c0d"} 4745