Monitoring Riak-KV using Golang

Magnus Kessler mkessler at basho.com
Sun Apr 30 06:19:32 EDT 2017


On 30 April 2017 at 10:34, Prakash Parmar <prakash.parmar at outlook.com>
wrote:

> Hi All,
>
> For my project I have to read riak status periodically. From CLI, I can do
> using command 'riak-admin status’. How I can get in Golang Program ?
>
> I have gone through riak-go-client but didn’t find any API.
>
> Any help is really appreciated :)
>
> You can answer on stackoverflow : http://stackoverflow.com/
> questions/43704208/monitoring-riak-from-golang
>
> Thanks,
> Prakash Parmar
>
>
Hi Prakash,

You can use the HTTP /stats endpoint [0], which returns all monitored
properties in JSON format.

Kind Regards,

Magnus

[0]:
http://docs.basho.com/riak/kv/2.2.3/using/reference/statistics-monitoring/

-- 
Magnus Kessler
Client Services Engineer
Basho Technologies Limited

Registered Office - 8 Lincoln’s Inn Fields London WC2A 3BP Reg 07970431
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20170430/6a978fbb/attachment-0002.html>


More information about the riak-users mailing list