Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cloud statistics #1964

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions configuration/datawarehouse.d/ref/Cloud-statistics.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

}