A service that aggregates Vitess statistics for Prometheus
# fetch dependencies using govendor
$ govendor sync
# build golang source code
$ cd go/marco && go build -o marco .
$ ./marco --port [http server port] --vtgate [vtgate address] --etcd [global etcd address] --cells [cell names to monitor]
exported vttablet stats are available at /vttablet and contian following statistics
- total qps of tablet
- Vtgate total time
- Vtgate total count
- count and time for all tablets in order to compute tablet latency