You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The REST API `GET /pools/default/buckets/[bucket-name]/stats` (xref:rest-api:rest-bucket-stats.adoc[Getting Bucket Statistics]) is deprecated and replaced with `GET /pools/default/stats/range/[metric_name]/[function-expression]`.
94
+
Similarly, to retrieve statistics for multiple metrics, the REST API `POST /pools/default/stats/range` is supported.
95
+
+
96
+
For more information, see xref:rest-api:rest-statistics-single.adoc[Getting a Single Statistic] and xref:rest-api:rest-statistics-multiple.adoc[Getting Multiple Statistics].
97
+
92
98
https://jira.issues.couchbase.com/browse/MB-33315[MB-33315] Allow auto-failover for ephemeral buckets without a replica::
93
99
Previously, Couchbase Server always prevented auto-failover on nodes containing an ephemeral bucket that does not have replicas.
94
100
You can now configure Couchbase Server Enterprise Edition to allow a node to auto-failover even if it has an ephemeral bucket without a replica.
@@ -98,7 +104,6 @@ When you enable it, Couchbase Server creates empty vBuckets on other nodes to re
98
104
If the failed over node rejoins the cluster, Couchbase Server moves the replacement vBuckets back to rejoining node.
99
105
This option is useful if your application uses ephemeral buckets for data that's not irreplaceable, such as caches.
100
106
This setting is not available in Couchbase Server Community Edition.
101
-
102
107
+
103
108
See xref:learn:clusters-and-availability/automatic-failover.adoc#auto-failover-and-ephemeral-buckets[Auto-Failover and Ephemeral Buckets] and xref:manage:manage-settings/general-settings.adoc#node-availability[Node Availability] for more information.
104
109
@@ -108,7 +113,6 @@ Before version 8.0, you could only configure Couchbase Server to auto-failover a
108
113
The new `failoverOnDataDiskNonResponsiveness` setting and corresponding settings in the Couchbase Web Console *Settings* page sets the nuber of seconds allowed for read or write operations to complete.
109
114
If this period elapses before the operation completes, Couchbase Server triggers an auto-failover for the node.
110
115
This setting is off by default.
111
-
112
116
+
113
117
See xref:learn:clusters-and-availability/automatic-failover.adoc#failover-on-data-disk-non-responsiveness[Failover on Data Disk Non-Responsiveness] to learn more about this feature.
114
118
See xref:manage:manage-settings/general-settings.adoc#node-availability[Node Availability] and xref:rest-api:rest-cluster-autofailover-enable.adoc[] to learn how to enable it.
To retrieve the XDCR statistics details, instead of the REST API `GET /pools/default/buckets/[source_bucket]/stats/[destination_endpoint]`, Couchbase now supports the REST API `GET /pools/default/stats/range/[statistics_name]`.
358
+
+
359
+
For more information, see xref:rest-api:rest-statistics-single.adoc[Getting a Single Statistic].
Copy file name to clipboardExpand all lines: modules/rest-api/pages/rest-bucket-stats.adoc
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,16 @@
1
1
= Getting Bucket Statistics
2
-
:description: pass:q[To retrieve bucket statistics, use the `GET` operation with the `/pools/default/buckets/bucket_name/stats` URI.]
2
+
:description: pass:q[See the IMPORTANT note.]
3
3
:page-topic-type: reference
4
4
:page-aliases: rest-api:rest-node-retrieve-stats
5
5
6
+
[.deprecated]#Deprecated#
7
+
6
8
[abstract]
7
9
{description}
8
10
11
+
IMPORTANT: As of Couchbase Server 8.0, the REST API endpoint `GET /pools/default/buckets/<bucket-name>/stats` is deprecated.
12
+
For retrieving bucket statistics details, use xref:rest-api:rest-statistics-single.adoc[Getting a Single Statistic] or xref:rest-api:rest-statistics-multiple.adoc[Getting Multiple Statistics] instead.
0 commit comments