mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-26 14:01:30 +00:00
16 lines
303 B
Python
16 lines
303 B
Python
import requests
|
|
|
|
|
|
from selfprivacy_api.utils.prometheus import PrometheusQueries
|
|
|
|
|
|
@strawberry.type
|
|
class Monitoring:
|
|
@strawberry.field
|
|
def disks_usage():
|
|
return PrometheusQueries.disks_usage()
|
|
|
|
@strawberry.field
|
|
def disks_usage():
|
|
return PrometheusQueries.disks_usage()
|