You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sreeja (Jira)" <ji...@apache.org> on 2025/02/24 08:20:00 UTC
[jira] [Assigned] (HDDS-12168) Grafana dashboard - Show Cluster growth rate based on last X hours using promQL
[ https://issues.apache.org/jira/browse/HDDS-12168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sreeja reassigned HDDS-12168:
-----------------------------
Assignee: Sreeja (was: Abhishek Pal)
> Grafana dashboard - Show Cluster growth rate based on last X hours using promQL
> -------------------------------------------------------------------------------
>
> Key: HDDS-12168
> URL: https://issues.apache.org/jira/browse/HDDS-12168
> Project: Apache Ozone
> Issue Type: Task
> Components: Ozone Recon
> Reporter: Devesh Kumar Singh
> Assignee: Sreeja
> Priority: Major
> Labels: newbie
>
> Grafana dashboard can show cluster growth rate on an hourly basis or last X number of hours selected by user. This information will be computed based on prometheus metrics if prometheus service is running in cluster.
>
> *promQL:*
> {code:java}
> sum(rate(scm_node_manager_total_used[1h])) * 100 / sum(scm_node_manager_total_used){code}
> Here 1h can be changed based on user selection, but default it will show in last 1 hour, what is the growth rate. Above promQL shows in percentage.
>
> {code:java}
> http://<prometheus_host_ip>:9090/api/v1/query?query=sum(rate(scm_node_manager_total_used[1h])) * 100 / sum(scm_node_manager_total_used){code}
>
> cc: [~kkasawa] [~ritesh] [~swagle]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org