Commit graph

116 commits

Author SHA1 Message Date
Inex Code f005e4100c feat: Service configuration (#127)
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/127
2024-07-26 18:39:12 +03:00
nhnn e9e4cf680b feat: add option to filter logs by unit or slice 2024-07-26 18:39:12 +03:00
dettlaff ae2686e799 fix: query to query_range 2024-07-26 16:39:25 +04:00
dettlaff b17b4c2682 fix: rename Prometheus to Monitoring 2024-07-26 16:20:31 +04:00
dettlaff 1dae9046f2 feat: add union type 2024-07-26 15:50:12 +04:00
dettlaff 9a7930bc25 feat: add net usage 2024-07-25 20:01:48 +04:00
Inex Code e0380d149b chore: Review fixes 2024-07-25 16:48:34 +03:00
dettlaff 6f18eefc25 fix: FIX fiIFIxiIXIFiIXi 2024-07-25 00:58:38 +04:00
dettlaff df4a20ebf7 Merge branch 'add_monitoring_prometheus' of git.selfprivacy.org:SelfPrivacy/selfprivacy-rest-api into add_monitoring_prometheus 2024-07-24 21:04:42 +04:00
dettlaff 470f62bb07 fix: add debug 2024-07-24 21:04:03 +04:00
nhnn fc5c85e81a fix: typo in PrometheusQueries._send_query 2024-07-24 06:01:41 +03:00
dettlaff e8e60be3bb fix: fix 2024-07-24 05:04:29 +04:00
dettlaff 73f4915294 Merge remote-tracking branch 'origin/master' into add_monitoring_prometheus 2024-07-24 04:39:43 +04:00
dettlaff b1d83f16f8 fix: change resultType not result_type 2024-07-23 16:28:55 +04:00
dettlaff f357607f68 fix: upd disks query 2024-07-16 06:41:06 +04:00
nhnn 092b8deb9c fix: docs should use datetime too 2024-07-15 17:20:05 +03:00
nhnn 3bddfb15c4 fix: use GraphQL DateTime type for start and end arguments in monitoring.py 2024-07-15 17:16:24 +03:00
nhnn 2797b0b331 style: add self to make sure python isnt confused and format code 2024-07-15 17:00:36 +03:00
Inex Code 5c5e098bab style: do not break line before logic operator 2024-07-15 17:02:34 +04:00
nhnn a24e36fa01 fix: use query_range 2024-07-14 20:03:03 +03:00
nhnn 8114d1580a fix: typo, prometheus uses camelCase 2024-07-13 22:14:42 +03:00
nhnn eca1bc78ba fix: change _send_query to make use of 'data' field in response of prometheus 2024-07-13 22:04:02 +03:00
nhnn 94b0276f74 fix: extract business logic to utils/systemd_journal.py 2024-07-13 11:58:54 +03:00
nhnn 4bf206ad48 fix: dicts are indexed via [] 2024-07-10 17:18:55 +03:00
nhnn aa2a7ff3aa style: format files with black & rearrange imports 2024-07-10 15:53:56 +03:00
nhnn 0834360961 feat: add memory and cpu metrics 2024-07-08 18:18:07 +03:00
nhnn c34551014f fix: refactor utils/prometheus.py 2024-07-08 18:00:49 +03:00
dettlaff 3de0952c3f tests: add 2024-07-07 16:33:15 +04:00
Inex Code a7be03a6d3 refactor: Remove setting KEA
This is already done via NixOS config
2024-07-04 18:49:17 +04:00
Houkime 9bfffcd820 feature(jobs): job update generator 2024-07-04 17:19:25 +03:00
Houkime 6510d4cac6 feature(redis): enable key space notifications by default 2024-07-04 17:19:25 +03:00
Houkime f08dc3ad23 test(async): pubsub 2024-07-04 17:19:25 +03:00
Houkime b6118465a0 feature(redis): async connections 2024-07-04 17:19:25 +03:00
Maxim Leshchenko 5602c96056 feat(services): rename "sda1" to "system disk" and etc (#122)
Closes #51

Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/122
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
Co-authored-by: Maxim Leshchenko <cnmaks90@gmail.com>
Co-committed-by: Maxim Leshchenko <cnmaks90@gmail.com>
2024-06-27 17:41:46 +03:00
dettlaff f7fef181cd fix: imports 2024-06-25 21:25:31 +04:00
dettlaff 00204a6145 fix: from review 2024-06-22 16:12:29 +04:00
dettlaff 421dc87a8c Merge branch 'add_monitoring_prometheus' of git.selfprivacy.org:SelfPrivacy/selfprivacy-rest-api into add_monitoring_prometheus 2024-06-21 20:34:58 +04:00
dettlaff c9e73c17f9 feat: add start and params 2024-06-21 20:33:37 +04:00
def 79b9fc28bc fix: change port to 9001 2024-06-17 21:56:58 +03:00
dettlaff 852cc28c1a fix: paste new query 2024-06-16 23:06:40 +04:00
dettlaff ebb88bf969 feat: add disks usage 2024-06-16 23:01:25 +04:00
dettlaff 6357fb436c fix: query_range to query 2024-06-15 22:31:39 +04:00
dettlaff f96c9c2aea fix: delete bad code 2024-06-15 22:28:10 +04:00
dettlaff 01e30b96b2 feat: add prometheus.py, fix cpu_usage 2024-06-15 22:17:08 +04:00
Houkime 6f38b2309f fix(huey): adapt to new VM test environment 2024-03-18 12:18:55 +00:00
Houkime baf7843349 test(huey): only import test task if it is a test 2024-03-18 12:18:55 +00:00
Houkime fde461b4b9 test(huey): test that redis socket connection works 2024-03-18 12:18:55 +00:00
Houkime 83592b7bf4 feature(huey): use RedisHuey 2024-03-18 12:18:55 +00:00
Houkime f333e791e1 refactor(service): break out ServiceStatus and ServiceDNSRecord 2024-03-18 11:32:02 +00:00
Houkime 305e5cc2c3 refactor(services): introduce Bind class and test moving deeper 2024-03-06 18:40:05 +03:00