dettlaff
b1d83f16f8
fix: change resultType not result_type
2024-07-23 16:28:55 +04:00
dettlaff
f3f1114bc6
fix: add migration to migration list
2024-07-18 20:40:18 +04:00
dettlaff
5bb49f2109
fix: rename prometheus file
2024-07-17 21:49:53 +04:00
dettlaff
73c5e27824
fix: delete plerome icon
2024-07-17 21:15:18 +04:00
dettlaff
af7232abc8
feat: add prometheus as a service
2024-07-17 21:02:58 +04:00
dettlaff
80a46a58ac
feat: add prometheus migration
2024-07-17 19:44:56 +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
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
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
7e295f2e91
fix: yay! tests are working
2024-07-10 15:49:27 +03:00
nhnn
e988f77419
fix: fix tests (not working properly, yet)
2024-07-10 12:43:00 +03:00
nhnn
60e0dcc6cd
fix: type in path to PrometheusQueries
2024-07-08 19:14:50 +03:00
nhnn
60c5e12946
fix: add type annotations to monitoring.py
2024-07-08 19:02:34 +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
dettlaff
f7fef181cd
fix: imports
2024-06-25 21:25:31 +04:00
dettlaff
a6284d3d1c
fix: add requests to default.nix
2024-06-22 17:43:08 +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
165ef260b5
feat: add monitoring to schema
2024-06-17 21:06:48 +04: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
def
2e92557e84
feat: add _send_request
2024-06-10 05:27:37 +03:00
def
cbdcb4a63f
feat: add class Monitoring
2024-06-10 04:57:41 +03:00
Inex Code
a742e66cc3
feat: Add "OTHER" as a server provider
...
We should allow manual SelfPrivacy installations on unsupported server providers. The ServerProvider enum is one of the gatekeepers that prevent this and we can change it easily as not much server-side logic rely on this.
The next step would be manual DNS management, but it would be much more involved than just adding the enum value.
2024-05-25 14:12:51 +03:00
Inex Code
4f1d44ce74
chore: Bump version to 3.2.1
2024-05-24 22:53:58 +03:00
Houkime
8e8e76a954
fix(backups): fix orphaned snapshots erroring out
2024-05-24 12:30:27 +00:00
Inex Code
5a100ec33a
chore: Bump version to 3.2.0
2024-05-22 10:57:59 +03:00
Inex Code
524adaa8bc
add nix-collect-garbage endpoint ( #112 )
...
Continuation of the broken #21
Co-authored-by: dettlaff <dettlaff@riseup.net>
Co-authored-by: def <dettlaff@riseup.net>
Co-authored-by: Houkime <>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/112
Reviewed-by: houkime <houkime@protonmail.com>
2024-05-01 16:10:39 +03:00
houkime
5e93e6499f
Merge pull request 'redis-huey' ( #84 ) from redis-huey into master
...
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/84
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2024-03-20 14:19:07 +02:00
houkime
3302fe2818
Merge pull request 'Censor out secret keys from backup error messages' ( #108 ) from censor-errors into master
...
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/108
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2024-03-20 14:18:39 +02:00
Houkime
9ee72c1fcb
test(huey): make timeout more so that vm gets it in time
2024-03-20 09:02:10 +00:00
Houkime
28556bd22d
test(backups): move errored job checker into common test utils
2024-03-18 17:40:48 +00:00
Houkime
c5b227226c
fix(backups): do not rely on obscure behaviour
2024-03-18 17:33:45 +00:00
Inex Code
5ec677339b
Merge pull request 'docs(api): add a CI badge' ( #107 ) from ci-badge into master
...
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/107
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2024-03-18 19:28:31 +02:00
Houkime
f2446dcee2
docs(api): add missing dollar sign
2024-03-18 19:28:20 +02:00
Houkime
97960f77f2
docs(api): use title case in README
2024-03-18 19:28:20 +02:00
Houkime
677ed27773
docs(api): add a CI badge
2024-03-18 19:28:20 +02:00