Commit Graph

99 Commits

Author SHA1 Message Date
Peter J. Holzer 0595c19de9 Avoid division by 0
Not quite sure how that could happen but it did.
2022-12-30 21:31:50 +01:00
Peter J. Holzer f272b1ba95 Color data points in timeseries according to their criticality 2022-12-30 20:48:39 +01:00
Peter J. Holzer 5dec92d736 Add tickmarks for 10 day intervals 2022-12-30 20:29:39 +01:00
Peter J. Holzer 2b0a0f6d64 Increase spacing between horizontal ticks a bit 2022-12-30 20:19:41 +01:00
Peter J. Holzer 8d02bf2c6b Add description to timeseries 2022-12-30 20:14:00 +01:00
Peter J. Holzer 32b9f8eeed Allow multi mode for timeseries
Temporary until I think of something better.
2022-12-30 19:43:56 +01:00
Peter J. Holzer 55a86772e0 Plot timeseries 2022-12-30 18:59:58 +01:00
Peter J. Holzer 28a7bbd4f3 Skip timeseries without recent data 2022-12-29 13:40:47 +01:00
Peter J. Holzer 851d9b4b37 Add logging to process_queue 2022-12-27 11:44:03 +01:00
Peter J. Holzer 0fab037cbc Extend time unit to years 2022-12-27 11:10:06 +01:00
Peter J. Holzer 74c6a19302 Implement descending criticality thresholds 2022-12-27 10:54:19 +01:00
Peter J. Holzer eeb7db96b8 Cap time until full at 1 billion seconds
JSON can't represent infinity (at least not portably) so we need to use
a finite value. I certainly won't be worried if a disk will fill up in
32 years.
2022-12-27 10:50:41 +01:00
Peter J. Holzer 42ba485794 Add dashboard with gauges 2022-12-27 10:29:49 +01:00
Peter J. Holzer 2f400fccee Print SSLCertVerificationError if we get one
This also adds an option --verbose, but it doesn't actually do anything.
The error is alway reported.
2022-12-21 10:03:13 +01:00
Peter J. Holzer b10b62e77d Make expiry exponential
Choosing the element to expire from a uniform random distribution tends
to expire data points much too early. We want to always keep the oldest
observation and have a roughly exponential distribution between the
newest and the oldest observation.
2022-12-17 17:49:19 +01:00
Peter J. Holzer a802f2ee27 Process queue 2022-12-11 22:58:26 +01:00
Peter J. Holzer caeaa0bf73 Add changed timeseries to queue 2022-12-11 22:58:04 +01:00
Peter J. Holzer 1e034f1a7f Make logging configurable 2022-12-11 22:57:41 +01:00
Peter J. Holzer 658fbdf83c Filter graphs by dimension=value 2022-12-09 22:55:07 +01:00
Peter J. Holzer cf32c72b8f Think about scheduling measurements and processing them 2022-11-27 10:19:37 +01:00
Peter J. Holzer dd1b3056ac Measure HTTP(S) response code and time 2022-11-27 10:18:23 +01:00
Peter J. Holzer 4bf3508d26 Factor out send_report 2022-11-27 10:17:43 +01:00
Peter J. Holzer 803a56d6df Think about authentication 2022-11-27 10:16:26 +01:00
Peter J. Holzer 009cf38adb Format timestamps explicitely 2022-11-26 23:36:00 +01:00
Peter J. Holzer e23f3f8726 Report errors as "just expired" 2022-11-20 18:46:39 +01:00
Peter J. Holzer 81fa412202 Add simple visualization 2022-11-20 18:43:45 +01:00
Peter J. Holzer a79aac5cfd Downgrade to Python 3.7 for Debian 10 2022-09-27 12:30:45 +02:00
Peter J. Holzer 3f6b306b30 Report results of ping 2022-09-23 16:33:10 +02:00
Peter J. Holzer da293929e4 Report writability of file systems 2022-09-17 10:59:57 +02:00
Peter J. Holzer fd29019afe Report df 2022-09-13 00:27:02 +02:00
Peter J. Holzer 5ab325ea56 List dimensions and members and search for timeseries by the same
This should be enough to implement a simple query tool.
2022-09-06 22:47:52 +02:00
Peter J. Holzer 2b54a3862e Report top 100 directories 2022-09-04 21:04:03 +02:00
Peter J. Holzer b2c874b4a6 Return 404 on missing timeseries 2022-09-04 21:03:17 +02:00
Peter J. Holzer f8d0e84097 Remove breakpoint 2022-09-04 20:07:14 +02:00
Peter J. Holzer 45d758d84a Merge branch 'master' of git.hjp.at:hjp/ltsdb 2022-09-04 17:59:09 +02:00
Peter J. Holzer a8bfb68c8c Retrieve a single timeseries by id 2022-09-04 17:58:17 +02:00
Peter J. Holzer 1702926605 Retry on 409 error 2022-09-04 13:20:41 +02:00
Peter J. Holzer 5eb0edaaf9 Make hash name compatible with Python 3.9
Apparently SHA-256 with a dash works only with Python 3.10.
2022-09-04 12:48:15 +02:00
Peter J. Holzer 67bb915e49 Move server URL to config 2022-09-04 12:47:20 +02:00
Peter J. Holzer d34e57a9ff Add gunicorn to requirements 2022-09-03 22:57:32 +02:00
Peter J. Holzer b92aae5f49 Add requirements.txt 2022-09-03 22:21:32 +02:00
Peter J. Holzer 847ba1f410 Report loadavg (demo client) 2022-09-02 18:42:29 +02:00
Peter J. Holzer 1f747af6d3 Authenticate reporting nodes 2022-09-02 18:41:19 +02:00
Peter J. Holzer 24544cbdac Add web API 2022-09-02 14:06:47 +02:00
Peter J. Holzer 8e26433a86 Be quiet(er) 2022-08-21 13:15:01 +02:00
Peter J. Holzer 01543d857b Record disk usage in LTsDb 2022-08-21 12:00:07 +02:00
Peter J. Holzer 6d689666e9 Implement json prototype of LTsDb 2022-08-21 11:58:31 +02:00
Peter J. Holzer 1a4d8ef471 Use a lossy timeseries to predict when a filesystem will be full (PoC) 2022-08-20 17:40:16 +02:00
Peter J. Holzer 5630f43e62 Maintain a single lossy timeseries (PoC) 2022-08-20 17:39:12 +02:00