Hi Friends,
I have a cluster with 5 nodes and i want to get the couchbase cluster health and status. How can i approach to get the same information using Java API?
Thanks and Regards
Rajesh Reddy
Hi Friends,
I have a cluster with 5 nodes and i want to get the couchbase cluster health and status. How can i approach to get the same information using Java API?
Thanks and Regards
Rajesh Reddy
There’s a REST API that lets you get various data from the cluster, detailed here https://developer.couchbase.com/documentation/server/current/rest-api/rest-intro.html.
In addition there’s a Java API for subscribing to status events here https://developer.couchbase.com/documentation/server/current/sdk/java/collecting-information-and-logging.html, which allows you to build a sophisticated status monitoring solution.
Hope this helps