This learning path details how to setup and configure an external monitoring and alerting system for Couchbase using Prometheus and Grafana.
There are many different configurations that the monitoring solution can be deployed in, there is not a right or wrong way. You can colocate Prometheus, Grafana and the Couchbase Exporter or they can all be deployed to separate servers, both are perfectly acceptable. Ultimately, the configuration should be based on your use-case, storage and availability requirements.
The Couchbase Exporter can be deployed in a standalone cluster configuration, where there is a single Couchbase Exporter for each Couchbase Cluster that is being monitored. The Couchbase Exporter can also be deployed in a local mode, where each Couchbase Node has the Exporter installed. After completing the integration guide, your configuration will be very similar to one of the following:
Before you get started you should take the following prerequisites into consideration: