-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* A small reporting hack I'd considered some way to report dataset create/upload statistics based on a date range, but never got around to it. Today, writing up the draft report for April, I of course didn't have a report "for April", and pasted in one from April 25... And then thought, well, how hard would it be to add `--since` and `--until` to set the range? ``` $ pbench-report-generator --statistics creation --since 2023-1-1 --until 2024-1-1 Dataset statistics by creation date: 23,147 from 2023-01-01 00:07 to 2023-12-21 13:09 1,441 in month December 2023 0 in week December 24 to December 31 0 on 31 December 2023 Total by year: 2023: 23,147 Total by month of year: Jan: 5,722 Feb: 1,449 Mar: 1,356 Apr: 1,924 May: 1,895 Jun: 979 Jul: 639 Aug: 1,202 Sep: 2,798 Oct: 1,877 Nov: 1,865 Dec: 1,441 Total by day of month: 01: 1,869 02: 1,461 03: 1,273 04: 1,303 05: 1,366 06: 888 07: 645 08: 662 09: 556 10: 517 11: 591 12: 544 13: 792 14: 777 15: 508 16: 485 17: 564 18: 706 19: 521 20: 539 21: 441 22: 555 23: 493 24: 535 25: 541 26: 609 27: 776 28: 771 29: 748 30: 737 31: 374 Total by day of week: Mon: 2,755 Tue: 3,995 Wed: 4,251 Thu: 3,366 Fri: 2,478 Sat: 2,981 Sun: 3,321 Total by hour of day: 00: 1,022 01: 731 02: 992 03: 993 04: 1,354 05: 1,145 06: 910 07: 845 08: 875 09: 1,157 10: 1,317 11: 1,212 12: 1,132 13: 956 14: 960 15: 941 16: 783 17: 815 18: 952 19: 904 20: 890 21: 847 22: 735 23: 679 ```
- Loading branch information
Showing
2 changed files
with
103 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters