Skip to content

Latest commit

 

History

History
 
 

couchbase

Couchbase Integration

Couchbase Bytes Read

Overview

Identify busy buckets, track cache miss ratios, and more. This Agent check collects metrics like:

  • Hard disk and memory used by data
  • Current connections
  • Total objects
  • Operations per second
  • Disk write queue size

And many more.

Setup

Installation

The Couchbase check is included in the Datadog Agent package, so you don't need to install anything else on your Couchbase nodes.

Configuration

Host

To configure this check for an Agent running on a host:

Metric Collection
  1. Edit the couchbase.d/conf.yaml file in the conf.d/ folder at the root of your Agent's configuration directory to start collecting your Couchbase data. See the sample couchbase.d/conf.yaml for all available configuration options.

    init_config:
    
    instances:
      ## @param server - string - required
      ## The server's url.
      #
      - server: http://localhost:8091
  2. Restart the Agent.

Containerized

For containerized environments, see the Autodiscovery Integration Templates for guidance on applying the parameters below.

Metric collection
Parameter Value
<INTEGRATION_NAME> couchbase
<INIT_CONFIG> blank or {}
<INSTANCE_CONFIG> {"server": "http://%%host%%:8091"}

Validation

Run the Agent's status subcommand and look for couchbase under the Checks section.

Data Collected

Metrics

See metadata.csv for a list of metrics provided by this integration.

Events

The Couchbase check emits an event to Datadog each time the cluster rebalances.

Service Checks

couchbase.can_connect:
Returns Critical if the Agent cannot connect to Couchbase to collect metrics.

couchbase.by_node.cluster_membership:
Returns Critical if the node failed over. Returns Warning if the node is added to the cluster but is waiting for a rebalance. Returns Ok otherwise.

couchbase.by_node.health:
Returns Critical if the node is unhealthy. Returns Ok otherwise.

Troubleshooting

Need help? Contact Datadog support.

Further Reading