A newer version of this documentation is available.

View Latest

Statistics

      +
      The REST API allows cluster statistics to be retrieved; either individually, or in bulk.

      APIs in this Section

      Metrics are provided for all Couchbase Services, and also for the Cluster Manager and XDCR. All metrics can be queried by means of the REST API.

      For a complete list of available metrics that can be queried, see the Metrics Reference.

      The APIs described in this section are listed below.

      HTTP Method URI Documented at

      GET

      /prometheus_sd_config

      Prometheus Discovery API

      GET

      /pools/default/stats/range/<metric_name>/[function-expression]

      Getting a Single Statistic

      POST

      /pools/default/stats/range

      Getting Multiple Statistics