go-xentop
Wraps xentop. Documentation is on godoc.
Xen prometheus exporter
As an example, the prometheus-xentop
folder contains a webserver that exposes
the xentop data to Prometheus.
$ go get github.com/bwesterb/go-xentop/prometheus-xentop
$ $GOROOT/bin/prometheus-xentop -bind 0:8080