A newer version of this documentation is available.

View Latest

Getting Cluster Statistics

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

    Methods and URIs

    HTTP method URI Description

    GET

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

    Retrieves a single statistic.

    See Getting a Single Statistic.

    POST

    /pools/default/stats/range

    Retrieves a multiple statistics, based on a specified JSON payload.

    See Getting Multiple Statistics.

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