kiwi-simple-metrics/kiwi_simple_metrics/main.py

19 lines
275 B
Python

from . import metrics
from .settings import SETTINGS
def main() -> None:
# env parameters
print(SETTINGS.model_dump())
# CPU metric
print(metrics.cpu())
# MEM metric
# DISK metric
print(metrics.disk())
if __name__ == "__main__":
main()