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

Fix profiles parameter not being passed for site metrics, update CLI option descriptions #340

Merged
merged 2 commits into from
Aug 24, 2021

Conversation

jonogillettt
Copy link
Contributor

Currently the --help output says that you can provide --profiles arguments to the CLI to filter the metrics to the desired Test Profiles, however that argument is not respected as it does not get passed to the GraphQL query.

This change simply passes the profiles command line argument through to the TimeSeries list call which already supports it.

Additionally updated the CLI options descriptions to mark pages and profiles as array types since they accept multiple values.
Also added text to the descriptions of pages, profiles and metrics describing default behaviour when not set in the same form as the from and to options.

Updated descriptions on pages, profiles and metrics to include default behaviour when not set.
@CLAassistant
Copy link

CLAassistant commented Aug 24, 2021

CLA assistant check
All committers have signed the CLA.

@mikedijkstra
Copy link
Contributor

@jonogillettt Thanks for the PR! We'll get this merged and release a new version 🚀

@mikedijkstra mikedijkstra merged commit 1931307 into calibreapp:main Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants