Dynatrace automatically detects all applications and microservices deployed in your system and how it uses Couchbase. It provides automatic end-to-end tracing down to the single database statement, Couchbase server metrics and log insights. Dynatrace visualizes application to database dependencies for SQL and noSQL database as well as for cloud databases and self hosted databases. It diagnoses anomalies in real time with AI and pinpoints the root-cause down to the slow performing or erroneous SQL statements. Deep code-level insights combined with cloud native database server monitoring will help you ensure a robust production environment.
Set up monitoring
Virtual machine
If your Couchbase is running on a virtual machine directly, you will need to install OneAgent on that virtual machine to get started.
Kubernetes workload
If your Couchbase is running as a workload in Kubernetes, please refer to the Kubernetes deployment start guide.
Openshift workload
If your Couchbase is running as a workload in OpenShift, please refer to the OpenShift deployment start guide.
OpenTelemetry
If you are instrumenting Couchbase with OpenTelemetry then:
- Ensure that the OneAgent feature "OpenTelemetry Java Instrumentation agent support" is activated to get full tracing and metric insight (OneAgent version 1.237 or newer needed).
- Instrument the java client with OpenTelemetry.
- Ensure to store the span attributes.
Extension
Activate the Couchbase extension to get further metrics and events.
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.
5. Set the Port.
The default port is 8091
.
6. Select Save.
7. 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.
4. Select the host to open the host page.
5. Select More (…) > Settings to open the Host settings page.
6. In the Monitored technologies list, find the Couchbase row and turn on the Monitoring switch.
Couchbase monitoring is enabled for the selected host.
Log monitoring
Ensure that you have log monitoring enabled to get full log insight.