Skip to content

Commit

Permalink
Merge pull request #149 from galaxyproject/kui
Browse files Browse the repository at this point in the history
Add/update queries for pulling Key Usage Indicators data
  • Loading branch information
hexylena authored Mar 28, 2024
2 parents cf32ab5 + 3200a64 commit 9f90b37
Show file tree
Hide file tree
Showing 4 changed files with 339 additions and 141 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,15 @@
- mutate scale-table-autovacuum: Dynamically update autovacuum and autoanalyze scale for large tables. @natefoo
- query tools-usage-per-month from @lldelisle
- mutate derive-missing-username-from-email and mutate set-missing-username-to-random-uuid from @mvdbeek
- query monthly-jobs-by-new-multiday-users @afgane
- query users-engaged-multiday @afgane
- query monthly-jobs-by-new-users @afgane
- Updated:
- query monthly-cpu-stats to add --nb_users --filter_email by @lldelisle
- query monthly-users-active to add YYYY-MM parameter @afgane
- query monthly-users-registered to add YYYY-MM parameter @afgane
- query monthly-jobs to add YYYY-MM and --by_state parameters @afgane
- query total-jobs to add date and --total parameters @afgane
- Fixed:
- Replaced hardcoded metric_name with the variable in query_tool-metrics function @sanjaysrikakulam
- improved man pages a tad
Expand Down
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
1. Please make PRs to the `main` branch
2. When making changes:
1. Make changes to parts/
2. Run `make` to build gxadmin and test
2. Update the changelog for your additions
3. Commit everything except the `gxadmin` file

Expand Down Expand Up @@ -60,6 +61,13 @@ When this is provided, the WAP parsers the arguments and automatically exports t

Super wonderful!

## View built queries

To see the query gxadmin has built, use `echoquery`, for example:

```
gxadmin echoquery users-total
```

# Portability

Expand Down
2 changes: 1 addition & 1 deletion parts/05-python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ if [[ -z "${GXADMIN_PYTHON}" ]]; then
elif hash python >/dev/null; then
export GXADMIN_PYTHON=$(command -v python)
else
warning "Some features require python support, sorry. If you have python installed somewhere that is not on the path or under a weird name, you can set GXADMIN_PYTHON to the path."
warning "Some features require Python support. If you have Python installed somewhere that is not on the path or under a different name, set GXADMIN_PYTHON to the path."
fi
fi
Loading

0 comments on commit 9f90b37

Please sign in to comment.