I’ve build a simple exporter for prometheus (http://prometheus.io), following the logic from asgraphite (it’s basically a few RequestInfo() calls). For latency I use
RequestInfo("latency:"), which gives me the >1ms, >8ms, >64ms latencies for the last 10 seconds. That works well and gives me something to work with.
However, the aerospike server logs have these detailed latency stats, which asloglatency uses. That’s great for use with prometheus, since it’s exactly what I need to build nice histogram stats.
Are these detailed latency times available from the server via some API call? Preferably via the Go client? I could just tail the log files, but that seems a bit inelegant.
Thanks! Harmen ( https://github.com/alicebob/asprom if you’re curious)