Skip to content
7 changes: 6 additions & 1 deletion modules/rest-api/pages/rest-bucket-stats.adoc
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
= Getting Bucket Statistics
:description: pass:q[To retrieve bucket statistics, use the `GET` operation with the `/pools/default/buckets/bucket_name/stats` URI.]
:description: pass:q[See the IMPORTANT note.]
:page-topic-type: reference
:page-aliases: rest-api:rest-node-retrieve-stats

[.deprecated]#Deprecated#

[abstract]
{description}

IMPORTANT: As of Couchbase Server 8.0, this endpoint is deprecated.
For retrieving bucket statistics, use xref:rest-api:rest-statistics-single.adoc[Getting a Single Statistic] instead.

== HTTP method and URI

Statistics can be retrieved at the bucket level.
Expand Down
8 changes: 6 additions & 2 deletions modules/rest-api/partials/rest-buckets-table.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@
| xref:rest-api:rest-retrieve-bucket-nodes.adoc[Listing Nodes by Bucket]

| `GET`
| `/pools/default/buckets/[bucket-name]/stats`
| xref:rest-api:rest-bucket-stats.adoc[Getting Bucket Statistics]
| `/pools/default/stats/range/[metric_name]/[function-expression]`
| xref:rest-api:rest-statistics-single.adoc[Getting a Single Statistic]

| `POST`
| `/pools/default/stats/range`
| xref:rest-api:rest-statistics-multiple.adoc[Getting Multiple Statistics]

| `GET`
| `/pools/default/buckets/default`
Expand Down
3 changes: 2 additions & 1 deletion modules/rest-api/partials/rest-xdcr-table.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@


| `GET`
| `/pools/default/buckets/[source_bucket]/stats/[destination_endpoint]`
| `/pools/defaults/stats/range/[source_bucket]/stats/[destination_endpoint]`
| `/pools/default/stats/range/[metric_name]?sourceBucketName=[source_bucket_name]`
| xref:rest-api:rest-xdcr-statistics.adoc[Getting Statistics]

|===