get_cluster_health_and_services
Check Couchbase cluster health by pinging services and reporting reachability, latency, and errors per service. Optionally scope to a bucket or filter service types for targeted diagnostics.
Instructions
Check whether the cluster is reachable right now, and where it's broken.
This actively pings (see caveat below) the cluster's services and reports, per service:
Whether it responded and how long it took (latency)
Which node/endpoint answered, and any error if it didn't
Scope: cluster-level vs bucket-level ping
If bucket_name is omitted, this pings at the cluster level. This covers more services in one call, but whether the key-value (KV) service is included depends on the Couchbase Server version — it may be silently skipped.
If bucket_name is provided, this pings from the perspective of that bucket instead. This guarantees the KV service is covered for that bucket, but the result is scoped to that one bucket only — ping again per bucket_name to cover a multi-bucket cluster.
service_types optionally restricts which services get pinged. Valid values: "key_value", "query", "search", "analytics", "view", "management", "eventing". Omit to ping every service. An unrecognized value returns an error response instead of raising.
Caution — this is somewhat invasive: unlike a passive connection-state check, ping performs a live network round-trip to every targeted service. Prefer a narrow service_types filter, and avoid calling this in tight loops or high-frequency polling.
Returns:
Cluster health status with service-level connection details and latency measurements
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket_name | No | ||
| service_types | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||