{"id":10228,"date":"2023-06-23T01:43:43","date_gmt":"2023-06-23T08:43:43","guid":{"rendered":"https:\/\/www.couchbase.com\/developers\/tutorials\/monitoring-xdcr\/"},"modified":"2023-06-23T01:43:43","modified_gmt":"2023-06-23T08:43:43","slug":"monitoring-xdcr","status":"publish","type":"tutorials","link":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-xdcr\/","title":{"rendered":"Monitoring XDCR"},"content":{"rendered":"\n<h3 id=\"h-replication-status\" class=\"wp-block-heading\">Replication Status<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The tasks endpoint will provide cluster wide information on operations such as rebalance, XDCR replications, etc. The response is an array that will need to be filtered for items containing <code>[].type == \"xdcr\"<\/code><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Insecure: <code>http:\/\/localhost:8091\/pools\/default\/tasks<\/code><\/li>\n\n\n<li>Secure: <code>http:\/\/localhost:18091\/pools\/default\/tasks<\/code><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Response:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code language-json\"><code>[\n  {\n    &quot;cancelURI&quot;: &quot;\/controller\/cancelXDCR\/20763b82bb6b517bd0d15d9f6b78c13c%2Ftravel-sample%2Fdemo&quot;,\n    &quot;settingsURI&quot;: &quot;\/settings\/replications\/20763b82bb6b517bd0d15d9f6b78c13c%2Ftravel-sample%2Fdemo&quot;,\n    &quot;status&quot;: &quot;running&quot;,\n    &quot;replicationType&quot;: &quot;xmem&quot;,\n    &quot;continuous&quot;: true,\n    &quot;filterExpression&quot;: &quot;&quot;,\n    &quot;id&quot;: &quot;20763b82bb6b517bd0d15d9f6b78c13c\/travel-sample\/demo&quot;,\n    &quot;pauseRequested&quot;: false,\n    &quot;source&quot;: &quot;travel-sample&quot;,\n    &quot;target&quot;: &quot;\/remoteClusters\/20763b82bb6b517bd0d15d9f6b78c13c\/buckets\/demo&quot;,\n    &quot;type&quot;: &quot;xdcr&quot;,\n    &quot;recommendedRefreshPeriod&quot;: 10,\n    &quot;changesLeft&quot;: 0,\n    &quot;docsChecked&quot;: 0,\n    &quot;docsWritten&quot;: 31591,\n    &quot;maxVBReps&quot;: null,\n    &quot;errors&quot;: []\n  }\n]\n<\/code><\/pre>\n\n\n\n<h4 id=\"h-key-metrics-to-monitor\" class=\"wp-block-heading\">Key Metrics to Monitor<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th align=\"left\"><strong>Couchbase Metric<\/strong><\/th>\n<th align=\"left\"><strong>Description<\/strong><\/th>\n<th align=\"left\"><strong>Response<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"left\">status<\/td>\n<td align=\"left\">Indicates whether a replication is in a &#8220;running&#8221;, &#8220;paused&#8221;, or &#8220;notRunning&#8221; state.<\/td>\n<td align=\"left\">Alert if the value is &#8220;paused&#8221; or &#8220;notRunning&#8221;.<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> The <code>replicationId<\/code> is composed of 3 parts, delimited by a <code>\/<\/code>:<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Sample ReplicationId: <code>6f76c2a07245aef856db44a8e361032\/travel-sample\/default<\/code><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Remote Cluster ID<\/li>\n\n\n<li>Source Bucket<\/li>\n\n\n<li>Target Bucket<\/li>\n\n<\/ul>\n\n\n\n<h5 id=\"h-example\" class=\"wp-block-heading\">Example<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">The following example illustrates outputting the replication ID and Status.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>curl \n  --user Administrator:password \n  --silent \n  --request GET \n  http:\/\/localhost:8091\/pools\/default\/tasks | \n  jq -r &#039;map(select(.type | contains(&quot;xdcr&quot;))) |\n    .[] | .id + &quot; (&quot; +.status + &quot;)&quot;&#039;\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This example shows outputting all replications whose status is &#8220;paused&#8221; or &#8220;notRunning&#8221;<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>curl \n  --user Administrator:password \n  --silent \n  --request GET \n  http:\/\/localhost:8091\/pools\/default\/tasks | \n  jq -c &#039;map(select(\n    (.type | contains(&quot;xdcr&quot;))\n    and\n    (.status | contains(&quot;paused&quot;) or contains(&quot;notRunning&quot;))\n  )) | .[] | .id + &quot; (&quot; +.status + &quot;)&quot;&#039;\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"h-per-replication-stats\" class=\"wp-block-heading\">Per Replication Stats<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The XDCR stats are an aggregate for all of the configured replications, either for the entire cluster or a specific node.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Documentation: <a href=\"https:\/\/docs.couchbase.com\/server\/6.0\/rest-api\/rest-xdcr-statistics.html\">https:\/\/docs.couchbase.com\/server\/6.0\/rest-api\/rest-xdcr-statistics.html<\/a><\/p>\n\n\n\n<h4 id=\"h-available-stats\" class=\"wp-block-heading\">Available Stats<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th align=\"left\"><strong>Stat name<\/strong><\/th>\n<th align=\"left\"><strong>Description<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"left\">replication_changes_left<\/td>\n<td align=\"left\">The total number of changes left across all replications for the bucket<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replication_docs_rep_queue<\/td>\n<td align=\"left\">The total number of documents in replication queue for all replications for the bucket<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/bandwidth_usage<\/td>\n<td align=\"left\">Bandwidth used during replication, measured in bytes per second.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/changes_left<\/td>\n<td align=\"left\">Number of mutations to be replicated to the remote cluster<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/data_replicated<\/td>\n<td align=\"left\">Size of data replicated in bytes<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/datapool_failed_gets<\/td>\n<td align=\"left\">Number of failed gets from the pool<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/dcp_datach_length<\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/dcp_dispatch_time<\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/deletion_docs_written<\/td>\n<td align=\"left\">The number of docs deleted that have been written to the target cluster<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/deletion_failed_cr_source<\/td>\n<td align=\"left\">The number of deletes that have failed conflict resolution on the source due to optimistic replication<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/deletion_filtered<\/td>\n<td align=\"left\">The number of deletes that have been filtered<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/deletion_received_from_dcp<\/td>\n<td align=\"left\">The number of deletes that have been received from DCP<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/docs_checked<\/td>\n<td align=\"left\">Number of documents checked for changes<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/docs_failed_cr_source<\/td>\n<td align=\"left\">The number of docs that have failed conflict resolution on the source due to optimistic replication<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/docs_filtered<\/td>\n<td align=\"left\">Number of documents that have been filtered out and not replicated to target cluster<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/docs_opt_repd<\/td>\n<td align=\"left\">Number of documents sent optimistically<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/docs_processed<\/td>\n<td align=\"left\">The number of documents processed<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/docs_received_from_dcp<\/td>\n<td align=\"left\">Number of documents received from DCP<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/docs_rep_queue<\/td>\n<td align=\"left\">Number of documents in replication queue<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/docs_unable_to_filter<\/td>\n<td align=\"left\">The number of documents where filtering could not be processed<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/docs_written<\/td>\n<td align=\"left\">Number of documents written to the target cluster<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/expiry_docs_written<\/td>\n<td align=\"left\">The number of expiry documents written to the target cluster<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/expiry_failed_cr_source<\/td>\n<td align=\"left\">The number of expiries that have failed conflict resolution on the source due to optimistic replication<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">expiry_filtered<\/td>\n<td align=\"left\">The number of expiry documents that have been filtered out and not replicated to the target cluster<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/expiry_received_from_dcp<\/td>\n<td align=\"left\">The number of expiry documents that have been received<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/expiry_stripped<\/td>\n<td align=\"left\">The number of expiry documents removed from replicating<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/num_checkpoints<\/td>\n<td align=\"left\">Number of checkpoints issued in replication queue<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/num_failedckpts<\/td>\n<td align=\"left\">Number of checkpoints failed during replication<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/percent_completeness<\/td>\n<td align=\"left\">Percentage of checked items out of all checked and to-be-replicated items<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/rate_doc_checks<\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/rate_doc_opt_repd<\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/rate_received_from_dcp<\/td>\n<td align=\"left\">Number of documents received from DCP per second<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/rate_replicated<\/td>\n<td align=\"left\">Rate of documents being replicated, measured in documents per second<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/resp_wait_time<\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/set_docs_written<\/td>\n<td align=\"left\">The number of sets that have failed conflict resolution on the source due to optimistic replication<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/set_failed_cr_source<\/td>\n<td align=\"left\">The number of sets that have failed conflict resolution on the source due to optimistic replication<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/set_filtered<\/td>\n<td align=\"left\">Number of sets that have been filtered out and not replicated to target cluster<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/set_received_from_dcp<\/td>\n<td align=\"left\">The number of sets that have been received from DCP<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/size_rep_queue<\/td>\n<td align=\"left\">Size of replication queue in bytes<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/throttle_latency<\/td>\n<td align=\"left\">Throttle latency<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/throughput_throttle_latency<\/td>\n<td align=\"left\">Throughput throttle latency<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/time_committing<\/td>\n<td align=\"left\">Seconds elapsed during replication<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/wtavg_docs_latency<\/td>\n<td align=\"left\">Weighted average latency for sending replicated changes to target cluster<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">replications\/{replicationId}\/wtavg_meta_latency<\/td>\n<td align=\"left\">Weighted average time for requesting document metadata. XDCR uses this for conflict resolution prior to sending the document into the replication queue<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 id=\"h-codegetcode-clusterwide-bucket-xdcr-stats\" class=\"wp-block-heading\"><code>GET<\/code> Cluster-Wide Bucket XDCR Stats<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">These endpoints are informational and should not be used for monitoring as they are an aggregate for the entire cluster and the best practice is to monitor each node individually.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Insecure: <a href=\"http:\/\/localhost:8091\/pools\/default\/buckets\/@xdcr-%7BBUCKET%7D\/stats\">http:\/\/localhost:8091\/pools\/default\/buckets\/@xdcr-{BUCKET}\/stats<\/a><\/li>\n\n\n<li>Secure: <a href=\"http:\/\/localhost:8091\/pools\/default\/buckets\/@xdcr-%7BBUCKET%7D\/stats\">http:\/\/localhost:8091\/pools\/default\/buckets\/@xdcr-{BUCKET}\/stats<\/a><\/li>\n\n<\/ul>\n\n\n\n<h5 id=\"h-example-single-bucket\" class=\"wp-block-heading\">Example: Single Bucket<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">This example will output the XDCR stats for a specific bucket<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>curl \n  --user Administrator:password \n  --silent \n  --request GET \n  --data zoom=minute \n  http:\/\/localhost:8091\/pools\/default\/buckets\/@xdcr-travel-sample\/stats | \n  jq -r &#039;.op.samples | to_entries | sort_by(.key) | .[] |\n    select(.key | split(&quot;\/&quot;) | length &gt; 1) |\n    &quot;  &quot; + (.key) + &quot;: &quot; +\n      (.value | add \/ length | tostring)&#039;\n<\/code><\/pre>\n\n\n\n<h5 id=\"h-example-all-replications\" class=\"wp-block-heading\">Example: All Replications<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">This example will output all XDCR stats for every bucket that has one or more replications configured.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code># loop over each of the buckets\nfor bucket in $(curl \n  --user Administrator:password \n  --silent \n  --request GET \n  http:\/\/localhost:8091\/pools\/default\/tasks | \n  jq -r &#039;[ .[] | select(.type == &quot;xdcr&quot;) | .source ] | sort | unique | .[]&#039;)\ndo\n  echo &quot;&quot;\n  echo &quot;Bucket: $bucket&quot;\n  echo &quot;================================================================&quot;\n  # get the xdcr stats for the bucket\n  curl \n    --user Administrator:password \n    --silent \n    --request GET \n    --data zoom=minute \n    http:\/\/localhost:8091\/pools\/default\/buckets\/@xdcr-$bucket\/stats | \n    jq -r &#039;.op.samples | to_entries | sort_by(.key) | .[] |\n      select(.key | split(&quot;\/&quot;) | length &gt; 1) |\n      &quot;  &quot; + (.key) + &quot;: &quot; +\n        (.value | add \/ length | tostring)&#039;\ndone\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 id=\"h-codegetcode-nodelevel-bucket-xdcr-stats\" class=\"wp-block-heading\"><code>GET<\/code> Node-Level Bucket XDCR Stats<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Each data node in the cluster should be monitoring individually using the endpoint listed below.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Insecure: <a href=\"http:\/\/localhost:8091\/pools\/default\/buckets\/@xdcr-%7BBUCKET%7D\/stats\">http:\/\/localhost:8091\/pools\/default\/buckets\/@xdcr-{BUCKET}\/nodes\/{NODE}\/stats<\/a><\/li>\n\n\n<li>Secure: <a href=\"http:\/\/localhost:8091\/pools\/default\/buckets\/@xdcr-%7BBUCKET%7D\/stats\">http:\/\/localhost:8091\/pools\/default\/buckets\/@xdcr-{BUCKET}\/nodes\/{NODE}\/stats<\/a><\/li>\n\n<\/ul>\n\n\n\n<h5 id=\"h-example-single-bucket\" class=\"wp-block-heading\">Example: Single Bucket<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">This example will output the XDCR stats for a specific node and bucket.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>curl \n  --user Administrator:password \n  --silent \n  --request GET \n  --data zoom=minute \n  http:\/\/localhost:8091\/pools\/default\/buckets\/@xdcr-travel-sample\/nodes\/172.17.0.2:8091\/stats | \n  jq -r &#039;.op.samples | to_entries | sort_by(.key) | .[] |\n    select(.key | split(&quot;\/&quot;) | length &gt; 1) |\n    &quot;  &quot; + (.key) + &quot;: &quot; +\n      (.value | add \/ length | tostring)&#039;\n<\/code><\/pre>\n\n\n\n<h5 id=\"h-example-all-replications\" class=\"wp-block-heading\">Example: All Replications<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">This example will output all XDCR stats for a single node for every bucket that has one or more replications configured.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code># loop over each of the buckets\nfor bucket in $(curl \n  --user Administrator:password \n  --silent \n  --request GET \n  http:\/\/localhost:8091\/pools\/default\/tasks | \n  jq -r &#039;[ .[] | select(.type == &quot;xdcr&quot;) | .source ] | sort | unique | .[]&#039;)\ndo\n  echo &quot;&quot;\n  echo &quot;Bucket: $bucket&quot;\n  echo &quot;================================================================&quot;\n  # get the xdcr stats for the bucket\n  curl \n    --user Administrator:password \n    --silent \n    --request GET \n    --data zoom=minute \n    http:\/\/localhost:8091\/pools\/default\/buckets\/@xdcr-$bucket\/nodes\/172.17.0.2:8091\/stats | \n    jq -r &#039;.op.samples | to_entries | sort_by(.key) | .[] |\n      select(.key | split(&quot;\/&quot;) | length &gt; 1) |\n      &quot;  &quot; + (.key) + &quot;: &quot; +\n        (.value | add \/ length | tostring)&#039;\ndone\n<\/code><\/pre>\n\n\n\n<h5 id=\"h-example-all-replications-for-each-node\" class=\"wp-block-heading\">Example: All Replications for Each Node<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">This example will output all XDCR stats for a single node for every bucket that has one or more replications configured.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code># get all of the buckets in the cluster that have 1 or more\n# xdcr replications configured\nbuckets=$(curl \n  --user Administrator:password \n  --silent \n  --request GET \n  http:\/\/localhost:8091\/pools\/default\/tasks | \n  jq -r &#039;[ .[] | select(.type == &quot;xdcr&quot;) | .source ] | sort | unique | .[]&#039;)\n# get all of the nodes in the cluster running the data service\nnodes=$(curl \n  --user Administrator:password \n  --silent \n  --request GET \n  http:\/\/localhost:8091\/pools\/nodes | \n  jq -r &#039;.nodes[] |\n    select(.services | contains([&quot;kv&quot;]) == true) |\n    .hostname&#039;\n)\n# loop over each of the buckets\nfor bucket in ${buckets[@]}\ndo\n  echo &quot;&quot;\n  echo &quot;Bucket: $bucket&quot;\n  echo &quot;================================================================&quot;\n  # loop over each of the nodes in the cluster\n  for node in ${nodes[@]}\n  do\n    echo &quot;Node: $node&quot;\n    echo &quot;----------------------------------------------------------------&quot;\n    # get the xdcr stats for the bucket on the node\n    curl \n      --user Administrator:password \n      --silent \n      --request GET \n      --data zoom=minute \n      http:\/\/localhost:8091\/pools\/default\/buckets\/@xdcr-$bucket\/nodes\/$node\/stats | \n      jq -r &#039;.op.samples | to_entries | sort_by(.key) | .[] |\n        select(.key | split(&quot;\/&quot;) | length &gt; 1) |\n        &quot;  &quot; + (.key) + &quot;: &quot; +\n          (.value | add \/ length | tostring)&#039;\n    echo &quot;&quot;\n  done\ndone\n<\/code><\/pre>\n\n\n\n<h4 id=\"h-key-metrics-to-monitor\" class=\"wp-block-heading\">Key Metrics to Monitor<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th align=\"left\"><strong>Couchbase Metric<\/strong><\/th>\n<th align=\"left\"><strong>Description<\/strong><\/th>\n<th align=\"left\"><strong>Response<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"left\">changes_left<\/td>\n<td align=\"left\">The number of items pending XDCR replication. This can be used to approximate the degree of eventual consistency between clusters.<\/td>\n<td align=\"left\">Create a baseline for this value as &#8220;normal&#8221; will depend on workload, XDCR configuration, and available bandwidth. Alert at 2x of baseline. This may indicate a resource bottleneck.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">bandwidth_usage<\/td>\n<td align=\"left\">The amount of bandwidth in bytes used for XDCR replication.<\/td>\n<td align=\"left\">An alert value for this metric should be based on the network interconnect capacity between the clusters and the percentage of the interconnect XDCR is expected or allowed to consume.<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 id=\"h-codegetcode-per-node-individual-stat-for-a-replication\" class=\"wp-block-heading\"><code>GET<\/code> Per Node Individual Stat for a Replication<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Each XDCR replication stat can be retrieved individually. The entire key must be URL-encoded, where <code>\/<\/code>&#8216;s are replaced with <code>%2F<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Documentation: <a href=\"https:\/\/docs.couchbase.com\/server\/6.0\/rest-api\/rest-xdcr-statistics.html\">https:\/\/docs.couchbase.com\/server\/6.0\/rest-api\/rest-xdcr-statistics.html<\/a><\/p>\n\n\n\n<h5 id=\"h-example\" class=\"wp-block-heading\">Example<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">This example shows requesting an individual stat for a single replication and displays the results for each data node in the cluster.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code># set the replication info\nREMOTE_CLUSTER=&#039;20763b82bb6b517bd0d15d9f6b78c13c&#039;\nSOURCE_BUCKET=&#039;travel-sample&#039;\ntarget_BUCKET=&#039;demo&#039;\nSTAT_NAME=&#039;percent_completeness&#039;\n\n# build the url\nSTAT_URL=&quot;http:\/\/localhost:8091\/pools\/default\/buckets\/$SOURCE_BUCKET\/stats&quot;\nSTAT_URL=&quot;$STAT_URL\/replications%2F$REMOTE_CLUSTER%2F$SOURCE_BUCKET&quot;\nSTAT_URL=&quot;$STAT_URL%2F$target_BUCKET%2F$STAT_NAME&quot;\n\ncurl \n  --user Administrator:password \n  --silent \n  $STAT_URL | \n  jq -r &#039;.nodeStats | to_entries | .[] |\n    (.key | split(&quot;:&quot;) | .[0]) + &quot;: &quot; + (.value | add \/ length | tostring)&#039;\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 id=\"h-codegetcode-remote-cluster-information\" class=\"wp-block-heading\"><code>GET<\/code> Remote Cluster Information<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>replicationId<\/code> is a uniquely generated ID and does not convey the remote cluster details. All configured remote clusters and their associated IDs can be retrieved from the REST API.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Documentation: <a href=\"https:\/\/docs.couchbase.com\/server\/6.0\/rest-api\/rest-xdcr-get-ref.html\">https:\/\/docs.couchbase.com\/server\/6.0\/rest-api\/rest-xdcr-get-ref.html<\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Insecure: <a href=\"http:\/\/localhost:8091\/pools\/default\/remoteClusters\">http:\/\/localhost:8091\/pools\/default\/remoteClusters<\/a><\/li>\n\n\n<li>Secure: <a href=\"http:\/\/localhost:18091\/pools\/default\/remoteClusters\">https:\/\/localhost:18091\/pools\/default\/remoteClusters<\/a><\/li>\n\n<\/ul>\n\n\n\n<h5 id=\"h-example\" class=\"wp-block-heading\">Example<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">This example shows requesting an individual stat for a single replication and displays the results for each data node in the cluster.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>curl \n  --user Administrator:password \n  --silent \n  --request GET \n  http:\/\/localhost:8091\/pools\/default\/remoteClusters | \n  jq -r &#039;.&#039;\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-bucket-xdcr-operations\" class=\"wp-block-heading\">Bucket XDCR Operations<\/h3>\n\n\n\n<h4 id=\"h-codegetcode-bucket-incoming-xdcr-operations\" class=\"wp-block-heading\"><code>GET<\/code> Bucket Incoming XDCR operations<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">To retrieve the incoming write operations that occur on a target cluster due to replication, make the request on your target cluster and bucket.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Documentation: <a href=\"https:\/\/docs.couchbase.com\/server\/6.0\/rest-api\/rest-xdcr-statistics.html#rest-xdcr-stats-operations\">https:\/\/docs.couchbase.com\/server\/6.0\/rest-api\/rest-xdcr-statistics.html#rest-xdcr-stats-operations<\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Insecure: <a href=\"http:\/\/localhost:8091\/pools\/default\/buckets\/%7BBUCKET%7D\/stats\">http:\/\/localhost:8091\/pools\/default\/buckets\/{BUCKET}\/stats<\/a><\/li>\n\n\n<li>Secure: <a href=\"http:\/\/localhost:8091\/pools\/default\/buckets\/%7BBUCKET%7D\/stats\">http:\/\/localhost:8091\/pools\/default\/buckets\/{BUCKET}\/stats<\/a><\/li>\n\n<\/ul>\n\n\n\n<h4 id=\"h-available-stats\" class=\"wp-block-heading\">Available Stats<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th align=\"left\"><strong>Stat name<\/strong><\/th>\n<th align=\"left\"><strong>Description<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"left\">ep_num_ops_get_meta<\/td>\n<td align=\"left\">The number of metadata read operations per second for the bucket as the target for XDCR<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">ep_num_ops_set_meta<\/td>\n<td align=\"left\">The number of set operations per second for the bucket as the target for XDCR<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">ep_num_ops_del_meta<\/td>\n<td align=\"left\">The number of delete operations per second for the bucket as the target for XDCR<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">xdc_ops<\/td>\n<td align=\"left\">Total XDCR operations per second for this bucket (measured from the sum of the statistics: ep_num_ops_del_meta, ep_num_ops_get_meta, and ep_num_ops_set_meta)<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<h4 id=\"h-example\" class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>curl \n  --user Administrator:password \n  --silent \n  --request GET \n  --data zoom=minute \n  http:\/\/localhost:8091\/pools\/default\/buckets\/travel-sample\/stats | \n  jq -r &#039;.op.samples |\n      &quot;ep_num_ops_get_meta: &quot; + (.ep_num_ops_get_meta | add \/ length | tostring) +\n      &quot;nep_num_ops_set_meta: &quot; + (.ep_num_ops_set_meta |add \/ length | tostring) +\n      &quot;nep_num_ops_del_meta: &quot; + (.ep_num_ops_del_meta |add \/ length | tostring) +\n      &quot;nxdc_ops: &quot; + (.xdc_ops |add \/ length | tostring)&#039;\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 id=\"h-codegetcode-xdcr-timestampbased-conflict-resolution-stats\" class=\"wp-block-heading\"><code>GET<\/code> XDCR Timestamp-based Conflict Resolution Stats<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When using buckets configured with Timestamp-based Conflict Resolution it is important to monitor the drift related statistics. When a cluster is the destination for XDCR traffic, active vBuckets will calculate drift from their remote cluster peers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is normal for a cluster with closely synchronized clocks to show some drift; in general it will be showing how long it took a mutation to be replicated and should remain steady. It is also normal for the active vBucket drift to be zero if no XDCR relationship exists (or if no XDCR traffic is flowing).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Documentation: <a href=\"https:\/\/docs.couchbase.com\/server\/6.0\/learn\/clusters-and-availability\/xdcr-monitor-timestamp-conflict-resolution.html\">https:\/\/docs.couchbase.com\/server\/6.0\/learn\/clusters-and-availability\/xdcr-monitor-timestamp-conflict-resolution.html<\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Insecure: <a href=\"http:\/\/localhost:8091\/pools\/default\/buckets\/%7BBUCKET%7D\/stats\">http:\/\/localhost:8091\/pools\/default\/buckets\/{BUCKET}\/stats<\/a><\/li>\n\n\n<li>Secure: <a href=\"http:\/\/localhost:8091\/pools\/default\/buckets\/%7BBUCKET%7D\/stats\">http:\/\/localhost:8091\/pools\/default\/buckets\/{BUCKET}\/stats<\/a><\/li>\n\n<\/ul>\n\n\n\n<h4 id=\"h-available-stats\" class=\"wp-block-heading\">Available Stats<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th align=\"left\"><strong>Stat name<\/strong><\/th>\n<th align=\"left\"><strong>Description<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"left\">avg_active_timestamp_drift<\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">avg_replica_timestamp_drift<\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">ep_active_hlc_drift<\/td>\n<td align=\"left\">The sum of total_abs_drift for the node&#8217;s active vBuckets<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">ep_active_hlc_drift_count<\/td>\n<td align=\"left\">The sum of total_abs_drift_count for the node&#8217;s active vBuckets<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">ep_replica_hlc_drift<\/td>\n<td align=\"left\">The sum of total_abs_drift for the node&#8217;s active vBuckets<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">ep_replica_hlc_drift_count<\/td>\n<td align=\"left\">The sum of total_abs_drift_count for the node&#8217;s active vBuckets<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">ep_active_ahead_exceptions<\/td>\n<td align=\"left\">The sum of drift_ahead_exceeded for the node&#8217;s active vBuckets<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">ep_replica_ahead_exceptions<\/td>\n<td align=\"left\">The sum of drift_ahead_exceeded for the node&#8217;s replica vBuckets<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">ep_clock_cas_drift_threshold_exceeded<\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<h4 id=\"h-example\" class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>curl \n  --user Administrator:password \n  --silent \n  --request GET \n  --data zoom=minute \n  http:\/\/localhost:8091\/pools\/default\/buckets\/travel-sample\/stats | \n  jq -r &#039;.op.samples |\n    &quot;avg_active_timestamp_drift: &quot; +\n      (.avg_active_timestamp_drift | add \/ length | tostring) +\n    &quot;navg_replica_timestamp_drift: &quot; +\n      (.avg_replica_timestamp_drift | add \/ length | tostring) +\n    &quot;nep_active_hlc_drift: &quot; +\n      (.ep_active_hlc_drift | add \/ length | tostring) +\n    &quot;nep_active_hlc_drift_count: &quot; +\n      (.ep_active_hlc_drift_count | add \/ length | tostring) +\n    &quot;nep_replica_hlc_drift: &quot; +\n      (.ep_replica_hlc_drift | add \/ length | tostring) +\n    &quot;nep_replica_hlc_drift_count: &quot; +\n      (.ep_replica_hlc_drift_count | add \/ length | tostring) +\n    &quot;nep_active_ahead_exceptions: &quot; +\n      (.ep_active_ahead_exceptions | add \/ length | tostring) +\n    &quot;nep_clock_cas_drift_threshold_exceeded: &quot; +\n      (.ep_clock_cas_drift_threshold_exceeded | add \/ length | tostring)&#039;\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Replication Status The tasks endpoint will provide cluster wide information on operations such as rebalance, XDCR replications, etc. The response is an array that will need to be filtered for items containing [].type == &#8220;xdcr&#8221; Response: Key Metrics to Monitor Couchbase Metric Description Response status Indicates whether a replication is in a &#8220;running&#8221;, &#8220;paused&#8221;, or [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"menu_order":0,"template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"_acf":"","footnotes":""},"tutorial-languages":[551],"tutorial-tags":[564,571,563],"tutorial-technologies":[548,554],"tutorial-types":[555],"class_list":["post-10228","tutorials","type-tutorials","status-publish","hentry","tutorial-languages-any","tutorial-tags-metrics","tutorial-tags-monitoring","tutorial-tags-observability","tutorial-technologies-kv","tutorial-technologies-server","tutorial-types-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Monitoring XDCR - Couchbase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-xdcr\/\" \/>\n<meta property=\"og:locale\" content=\"it_IT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Monitoring XDCR\" \/>\n<meta property=\"og:description\" content=\"Replication Status The tasks endpoint will provide cluster wide information on operations such as rebalance, XDCR replications, etc. The response is an array that will need to be filtered for items containing [].type == &quot;xdcr&quot; Response: Key Metrics to Monitor Couchbase Metric Description Response status Indicates whether a replication is in a &#8220;running&#8221;, &#8220;paused&#8221;, or [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-xdcr\/\" \/>\n<meta property=\"og:site_name\" content=\"Couchbase\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Couchbase\/\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/10\/Cloud-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2548\" \/>\n\t<meta property=\"og:image:height\" content=\"1171\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@couchbase\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"13 minuti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/monitoring-xdcr\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/monitoring-xdcr\\\/\",\"name\":\"Monitoring XDCR - Couchbase\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#website\"},\"datePublished\":\"2023-06-23T08:43:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/monitoring-xdcr\\\/#breadcrumb\"},\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/monitoring-xdcr\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/monitoring-xdcr\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.couchbase.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Monitoring XDCR\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#website\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/\",\"name\":\"Couchbase\",\"description\":\"The Operational Data Platform for AI\u2122\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#organization\"},\"alternateName\":\"Couchbase, Inc.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"it-IT\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#organization\",\"name\":\"Couchbase\",\"alternateName\":\"Couchbase, Inc.\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Couchbase_Logo_Couchbase_Token_Red-1.png\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Couchbase_Logo_Couchbase_Token_Red-1.png\",\"width\":1129,\"height\":1129,\"caption\":\"Couchbase\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Couchbase\\\/\",\"https:\\\/\\\/x.com\\\/couchbase\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/CouchbaseServer\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/couchbase\\\/\",\"https:\\\/\\\/github.com\\\/couchbase\\\/\",\"https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Couchbase,_Inc.\"],\"description\":\"Couchbase is a database software company headquartered in San Jose, California, providing an operational data platform for AI used by hundreds of global enterprises.\",\"legalName\":\"Couchbase, Inc.\",\"foundingDate\":\"2011-01-01\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Monitoring XDCR - Couchbase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-xdcr\/","og_locale":"it_IT","og_type":"article","og_title":"Monitoring XDCR","og_description":"Replication Status The tasks endpoint will provide cluster wide information on operations such as rebalance, XDCR replications, etc. The response is an array that will need to be filtered for items containing [].type == \"xdcr\" Response: Key Metrics to Monitor Couchbase Metric Description Response status Indicates whether a replication is in a &#8220;running&#8221;, &#8220;paused&#8221;, or [&hellip;]","og_url":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-xdcr\/","og_site_name":"Couchbase","article_publisher":"https:\/\/www.facebook.com\/Couchbase\/","og_image":[{"width":2548,"height":1171,"url":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/10\/Cloud-2.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@couchbase","twitter_misc":{"Est. reading time":"13 minuti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-xdcr\/","url":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-xdcr\/","name":"Monitoring XDCR - Couchbase","isPartOf":{"@id":"https:\/\/www.couchbase.com\/it\/#website"},"datePublished":"2023-06-23T08:43:43+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-xdcr\/#breadcrumb"},"inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-xdcr\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-xdcr\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/"},{"@type":"ListItem","position":2,"name":"Monitoring XDCR"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/it\/#website","url":"https:\/\/www.couchbase.com\/it\/","name":"Couchbase","description":"The Operational Data Platform for AI\u2122","publisher":{"@id":"https:\/\/www.couchbase.com\/it\/#organization"},"alternateName":"Couchbase, Inc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/it\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"it-IT"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/it\/#organization","name":"Couchbase","alternateName":"Couchbase, Inc.","url":"https:\/\/www.couchbase.com\/it\/","logo":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/www.couchbase.com\/it\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/11\/Couchbase_Logo_Couchbase_Token_Red-1.png","contentUrl":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/11\/Couchbase_Logo_Couchbase_Token_Red-1.png","width":1129,"height":1129,"caption":"Couchbase"},"image":{"@id":"https:\/\/www.couchbase.com\/it\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Couchbase\/","https:\/\/x.com\/couchbase","https:\/\/www.youtube.com\/c\/CouchbaseServer","https:\/\/www.linkedin.com\/company\/couchbase\/","https:\/\/github.com\/couchbase\/","https:\/\/en.wikipedia.org\/wiki\/Couchbase,_Inc."],"description":"Couchbase \u00e8 una societ\u00e0 di software per database con sede a San Jose, in California, che fornisce una piattaforma operativa per i dati utilizzata da centinaia di aziende globali.","legalName":"Couchbase, Inc.","foundingDate":"2011-01-01"}]}},"acf":[],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorials\/10228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorials"}],"about":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/types\/tutorials"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorials\/10228\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/media?parent=10228"}],"wp:term":[{"taxonomy":"tutorial-languages","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-languages?post=10228"},{"taxonomy":"tutorial-tags","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-tags?post=10228"},{"taxonomy":"tutorial-technologies","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-technologies?post=10228"},{"taxonomy":"tutorial-types","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-types?post=10228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}