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
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
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
Houkime
1e51f51844
feature(backups): intermittent commit for binds, to be replaced
2024-03-06 18:40:05 +03:00
Inex Code
c733cfeb9e
Merge remote-tracking branch 'origin/system-rebuild-tracking' into system-rebuild-tracking
2024-03-05 14:41:43 +03:00
Inex Code
71433da424
refactor: move systemd functions to utils
2024-03-05 11:55:52 +03:00
Inex Code
36d026a8ca
style: Formatting
2024-03-04 00:45:45 +03:00
Inex Code
5616dbe77a
style: rename ip6 addresses variable
2024-03-01 15:06:32 +03:00
Inex Code
bbec9d9d33
refactor: use ipaddress library for ip validation
2024-03-01 14:58:28 +03:00
Inex Code
a4327fa669
fix(dns): Ignore link-local IPv6 address
2024-03-01 03:21:31 +03:00
Inex Code
b6f436d8b3
refactor: Adapt API to the NixOS configuration changes
2024-01-10 15:05:10 +02:00
Houkime
bcbe1ff50c
refactor(dkim): do not use popen
2024-01-08 13:12:27 +00:00
Houkime
9f04729296
test(services, system): untie dkim tests from rest
2024-01-08 13:12:27 +00:00
Houkime
9d7857cb3f
fix(blockdevices): handle nested lsblk
2024-01-08 13:12:27 +00:00
Houkime
e414f3b8fd
fix(auth): fix timezone issues with recovery tokens
2023-11-13 09:15:12 -07:00
Houkime
8badb9aaaf
refactor(auth): tz_aware expiration comparison
2023-11-10 13:31:12 +00:00
Houkime
8453f62c74
refactor(time): more time functions
2023-11-10 13:05:38 +00:00
Houkime
73a847f288
feature(time): timestamp parsers
2023-11-10 12:19:32 +00:00
Inex Code
cebb71ff4a
feat(ssh): Add support for ecdsa keys
2023-10-03 16:51:06 +03:00
Houkime
30b62c351a
feature(redis): compatibility with str enums
2023-08-21 11:31:29 +00:00
Inex Code
641ab26069
fix(storage): fix root device detection and ignore iso9660
2023-07-28 03:14:50 +03:00
Inex Code
6660e1d9d5
fix(services): ocserv and jitsi were returning wrong volumes too
2023-07-28 02:31:28 +03:00
Inex Code
c9d20e8efd
fix(backups): make datetimes from huey timezone aware
2023-07-20 19:39:10 +03:00
Inex Code
0245d629fd
refactor(backups): linting
2023-07-20 18:24:26 +03:00
Houkime
e7a6700522
test(backups): test async service start n stop simulation
2023-07-12 12:10:40 +00:00
Houkime
6523105d89
feature(utils): a hopefully reusable waitloop
2023-07-10 10:33:01 +00:00
Houkime
a0afe63b3d
refactor(backups): redis model storage utils
2023-05-17 20:27:41 +00:00
Inex Code
4e7261c9c4
fix(dns-records): Fix DKIM parser
...
Previously API relied on client to parse DKIM DNS string, as it was a
separate endpoint. But now client blindly trusts the API, but parser
was not migrated over to the API.
2023-01-16 18:41:54 +03:00