Get cluster repositories metering
Technical preview; Added in 7.16.0
Get repositories metering information for a cluster. This API exposes monotonically non-decreasing counters and it is expected that clients would durably store the information needed to compute aggregations over a period of time. Additionally, the information exposed by this API is volatile, meaning that it will not be present after node restarts.
Required authorization
- Cluster privileges:
monitor
,manage
GET
/_nodes/{node_id}/_repositories_metering
curl \
--request GET 'http://api.example.com/_nodes/{node_id}/_repositories_metering' \
--header "Authorization: $API_KEY"