From 86cc14b8c8986187f4942ce479c0516a620186e3 Mon Sep 17 00:00:00 2001 From: Joseph White Date: Thu, 16 Jan 2025 14:47:17 -0500 Subject: [PATCH] Add Cloud statistics --- .../datawarehouse.d/ref/Cloud-statistics.json | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/configuration/datawarehouse.d/ref/Cloud-statistics.json b/configuration/datawarehouse.d/ref/Cloud-statistics.json index c4a29c83ab..36e460f9f7 100644 --- a/configuration/datawarehouse.d/ref/Cloud-statistics.json +++ b/configuration/datawarehouse.d/ref/Cloud-statistics.json @@ -75,5 +75,34 @@ "name": "Core Hour Utilization", "unit": "%", "precision": 2 + }, + "active_person_count": { + "description_html": "The total number of users that used cloud resources.", + "formula": "COUNT(DISTINCT(agg.person_id))", + "name": "Number of Users: Active", + "precision": 0, + "unit": "Number of Users" + }, + "active_pi_count": { + "description_html": "The total number of PIs associated with Projects that used cloud resources.", + "formula": "COUNT(DISTINCT(agg.principalinvestigator_person_id))", + "name": "Number of PIs: Active", + "precision": 0, + "unit": "Number of PIs" + }, + "active_resource_count": { + "description_html": "The total number of active cloud resources.", + "formula": "COUNT(DISTINCT(agg.host_resource_id))", + "name": "Number of Resources: Active", + "precision": 0, + "unit": "Number of Resources" + }, + "active_project_count": { + "description_html": "The total number of projects that used cloud resources.", + "formula": "COUNT(DISTINCT(agg.account_id))", + "name": "Number of Projects: Active", + "precision": 0, + "unit": "Number of Projects" } + }