Export cluster metrics to Prometheus
Export a set of WEKA cluster metrics from CWH directly into Prometheus without using WEKAmon.
Overview
Cloud WEKA Home (CWH) allows exporting key cluster metrics directly to Prometheus using a custom application that follows the Prometheus Data Model.
This feature is designed for customers who do not use the WEKAmon monitoring utility but still need to integrate essential cluster statistics into their Prometheus environments.
Key exported metrics include:
Throughput metrics
IO performance metrics
Cluster resource metrics
Cluster health and alerts
Cluster capacity metrics

Export Prometheus metrics from CWH
To export Prometheus metrics from CWH, implement the Prometheus API call within a custom application to retrieve metrics at the required intervals. This procedure demonstrates the operation using the curl
command to extract the metrics.
Procedure
Obtain the CWH Cluster API key:
Contact the Customer Success Team to obtain the API key.
Export metrics in Prometheus format:
Use the following API call, replacing
<cluster_id>
with your cluster ID and<cluster_api_key>
with the API key from Step 1:curl --location \ 'https://api.home.weka.io/api/v3/clusters/<cluster_id>/stats/prometheus' \ --header 'Authorization: token <cluster_api_key>'
The command returns Prometheus-formatted metrics cluster information.
Import the metrics into Prometheus:
Configure Prometheus to import the exported metrics.
Use the Prometheus UI to visualize and monitor the metrics.
Related information
Last updated