Couchbase monitoring
Couchbase server monitoring in Dynatrace provides a high-level overview of all Couchbase components in your cluster.
Prerequisites
Linux OS or Windows
Couchbase version 4.3+
Enabling Couchbase monitoring globally
With Couchbase monitoring enabled globally, Dynatrace automatically collects Couchbase metrics whenever a new host running Couchbase is detected in your environment.
- In the Dynatrace menu, go to Settings.
- Select Monitoring > Monitored technologies.
- On the Supported technologies tab, find the Couchbase entry and select in the Edit column to expand the row.
- Set the User and Password.
The credentials have to work for all Couchbase hosts that you want to monitor. The provided user should have a minimum role of Read-Only Admin. - Set the Port.
The default port is8091
. - Select Save.
- Turn on the Global monitoring switch for Couchbase.
Couchbase monitoring is enabled globally.
Enabling Couchbase monitoring for individual hosts
Dynatrace provides the option of enabling Couchbase monitoring for specific hosts rather than globally.
- If global Couchbase monitoring is currently switched on, switch it off: go to Settings > Monitoring > Monitored technologies and set the Couchbase switch to the Off position.
- In the Dynatrace menu, go to Hosts.
- Find the host you want to configure.
Use the filter at the top of the list to help you locate the host. Select the host to open the host page.
- Select More (…) > Settings to open the Host settings page.
- In the Monitored technologies list, find the Couchbase row and turn on the Monitoring switch.
Couchbase monitoring is enabled for the selected host.
Monitoring Couchbase clusters
- In the Dynatrace menu, go to Technologies.
- Select the Couchbase tile.
- To view cluster metrics, expand the Details section of the Couchbase process group.
- Select Process group details.
- On the Process group details page, select the Technology-specific metrics tab to view relevant cluster charts and metrics.
Couchbase cluster (process group) overview pages provide an overview of Couchbase cluster health and performance.
This page is also helpful for identifying problematic nodes. Just select a relevant time interval for the timeline, select a node metric from the metric drop list, and compare the values of all nodes in the sortable table.
Further down the page, you’ll find a number of other cluster-specific charts.
Couchbase cluster charts
Chart | Contents |
---|---|
Status | Number of nodes per status (healthy, unhealthy, warmup) |
Out of memory | Number of OOM and temporary OOM per sec |
Operations | Number of operations |
Disk fetches | Disk fetches for memcached buckets |
RAM overview | Overview of cluster memory |
Disk overview | Overview of cluster disk usage |
Swap usage | Cluster swap usage |
Cache miss rate | Percent of requests not found in the cache |
Number of ejected items | Number of times that item values were ejected from memory to disk |
Current items | Number of documents stored on the cluster |
Buckets | Numbers of buckets per type |
Couchbase node monitoring
To access valuable Couchbase node metrics:
- On your Couchbase Process group details page, select a node from the Process list at the bottom of the page.
- Select the Couchbase metrics tab.
Charts available on the node level include Node status, Operations, Disk fetches, RAM usage, Swap usage, and Current items.