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/update queries for pulling Key Usage Indicators data #149

Merged
merged 19 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
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
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
Loading