Commit graph

1481 commits

Author SHA1 Message Date
Inex Code 41215dce53 Merge remote-tracking branch 'origin/master' into add_monitoring_prometheus 2024-07-30 16:53:53 +03:00
Inex Code 158b4ca50d fix: tests 2024-07-30 16:39:05 +03:00
Inex Code d97a3954f0 fix: key error 2024-07-30 15:49:54 +03:00
Inex Code 806c3052ff fix: Take swap into account when counting service RAM usage metrics 2024-07-30 15:22:23 +03:00
Inex Code bd2fae2e6d chore: Fix prometheus id to be the same as the sp module 2024-07-30 07:07:44 +03:00
Inex Code 5755fbba48 refactor: Rename id to metric_id as some client caches values by id again 2024-07-30 06:56:46 +03:00
dettlaff 315250bae3 tests: add monitoring tests 2024-07-30 07:42:36 +04:00
Inex Code 959597be5f fix: Do not include unused devices in disk metrics 2024-07-29 19:12:34 +03:00
Inex Code 36c685eaf2 fix: bugs 2024-07-29 19:10:06 +03:00
Inex Code ab4920dd3a fix: zero offsets 2024-07-29 18:53:45 +03:00
Inex Code 60ce3b773d chore: Also show a query when prometheus fails 2024-07-29 18:50:23 +03:00
Inex Code 021208a4d6 chore: Show the response text when prometheus request fails 2024-07-29 18:42:43 +03:00
Inex Code d0d3cdacca chore: Disable monitoring tests for now 2024-07-29 18:26:15 +03:00
Inex Code f83f5e840b feat: Add per-service memory stats 2024-07-29 18:25:21 +03:00
Inex Code 3b518b82f0 refactor: Wrap overall monitoring results to allow more specific reports 2024-07-29 15:53:41 +03:00
Inex Code 7c620d0056 chore: Fix spelling 2024-07-29 14:19:52 +03:00
nhnn 2d07505b4d feat: make query result typed (WIP, tests are broken) 2024-07-27 15:37:38 +03:00
Inex Code 57c5b9781d fix: Update theme names of forgejo 2024-07-27 00:38:10 +03:00
Inex Code a56874ad4f fix: faulty import in tests 2024-07-26 23:04:15 +03:00
Inex Code a1bbd31833 style: Reformat with new Black version 2024-07-26 23:02:22 +03:00
Inex Code cabb6cca90 chore: Migrate to NixOS 24.05 2024-07-26 23:02:22 +03:00
Inex Code 1259c081ef style: Reformat with new Black version 2024-07-26 22:59:44 +03:00
Inex Code 659cfca8a3 chore: Migrate to NixOS 24.05 2024-07-26 22:59:32 +03:00
Inex Code 5e6f343e83 fix: Forbid backups for prometheus 2024-07-26 18:56:17 +03:00
Inex Code 2e87d3c473 fix: Failed to get prometheus configuration 2024-07-26 18:53:27 +03:00
Inex Code 760e5137a5 chore: formatting 2024-07-26 18:53:10 +03:00
Inex Code dc64ce1cfa fix: Do not try to fetch stats if prometheus is not active 2024-07-26 18:50:00 +03:00
Inex Code 8bd1a9354f fix: Add prometheus to the services list 2024-07-26 18:49:45 +03:00
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
Inex Code 9b93107b36 feat: Service configuration (#127)
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/127
2024-07-26 18:33:04 +03:00
Inex Code 40b8eb06d0 Merge pull request 'feat: add option to filter logs by unit or slice' (#128) from nhnn/selfprivacy-rest-api:logs-filtering into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/128
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2024-07-26 16:33:05 +03:00
dettlaff ae2686e799 fix: query to query_range 2024-07-26 16:39:25 +04:00
dettlaff c5b0257105 fix: imports 2024-07-26 16:32:05 +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
nhnn 3c024cb613 feat: add option to filter logs by unit or slice 2024-07-25 20:34:28 +03: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 7fd97fe0b2 fix: add location to monitoring migration 2024-07-24 15:02:56 +03:00
nhnn e9cecd6789 fix: remove subdomain property on monitoring 2024-07-24 06:18:11 +03:00
nhnn d0aec6cd06 fix: rename prometheus to monitoring 2024-07-24 06:12:18 +03: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 f74ef57daa fix: add requests 2024-07-24 04:58:41 +04:00
dettlaff 73f4915294 Merge remote-tracking branch 'origin/master' into add_monitoring_prometheus 2024-07-24 04:39:43 +04:00
dettlaff 4fc87e48b2 fix: import 2024-07-23 20:05:27 +04:00