On 30 April 2017 at 10:34, Prakash Parmar <prakash.par...@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
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com