Commit graph

33 commits

Author SHA1 Message Date
627edab9e9 Report.push_webhook() 2023-09-01 22:56:20 +00:00
cc45e8d02a allow per-report settings for external metrics 2023-09-01 15:18:57 +00:00
4efd957972 dummy-metric and dummy metrics.external 2023-09-01 14:57:06 +00:00
809ef98607 external metric definition 2023-09-01 14:38:04 +00:00
ce225006ef ScriptMS class 2023-09-01 11:34:26 +00:00
f489f90a92 settings module split 2023-09-01 00:26:29 +00:00
f23d7f2e37 better timing with concurrency 2023-09-01 00:19:04 +00:00
94191f3b5d webhook handling 2023-08-31 23:49:02 +00:00
57da462dd7 Settings.log group 2023-08-31 23:29:27 +00:00
c5a3cac61e default to one decimal place 2023-08-31 23:11:24 +00:00
af9d3eb502 control logging to stdout 2023-08-31 23:09:50 +00:00
8f6a7a37fd periodic task using asyncio 2023-08-31 22:55:31 +00:00
862e78eec0 Settings.separator 2023-08-31 22:25:18 +00:00
5b151beb7f parse None value for MetricSettings.count 2023-08-31 22:11:10 +00:00
2e9b3ff6d2 shebang 2023-08-31 22:10:40 +00:00
db96082a31 add Report.concat(*reports) 2023-08-31 22:10:33 +00:00
ecffaa3d07 typo 2023-08-31 15:38:15 +00:00
99d879ba85 Report.aggregate: param data -> iter get_data 2023-08-31 15:31:25 +00:00
8b532829a5 improved aggregation by refactoring metrics._report
ReportData mutable, Report immutable
class Report has builtin `aggregate`
2023-08-31 15:23:00 +00:00
b14a573b24 doc 2023-08-31 12:31:48 +00:00
49a16f67c3 metrics.memory 2023-08-31 12:26:50 +00:00
a9cf044fe1 disk report "used" instead of "free" 2023-08-31 11:44:41 +00:00
06f8ba1316 metrics py module 2023-08-31 11:17:19 +00:00
63dc67f84e defaults handling and metric names 2023-08-31 11:09:19 +00:00
953da6d511 disk_metric reporting 2023-08-31 11:02:54 +00:00
b9259d306d metrics._report return type 2023-08-31 11:02:23 +00:00
8eb47e200d metrics.disk_metric ("failed" is buggy) 2023-08-31 09:45:10 +00:00
1854c4d40e metrics.cpu_metric 2023-08-31 09:00:22 +00:00
a8ca283467 minor renames in settings.py 2023-08-31 09:00:02 +00:00
3bc453a56c preliminary metrics "CPU" and "DISK" 2023-08-30 23:49:07 +00:00
a8627bad84 workaround for default value 2023-08-30 23:28:04 +00:00
9d754ad4e8 Settings class 2023-08-30 22:01:31 +00:00
56c0126a54 project scaffold, main script outputs CPU usage 2023-08-30 21:08:16 +00:00