eggcracker / scripts /export_monitoring_metrics.py
noqt's picture
Sync GitHub source eba52968fad4f7ebf329d6f232d7854107032417
085f660 verified
Raw History Blame Contribute Delete
378 Bytes
"""Export read-only Lumi Eggcracker health to an explicitly owned textfile."""
from __future__ import annotations
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(ROOT / "src"))
def run() -> int:
from lumi_eggcracker.monitoring import main
return main()
if __name__ == "__main__":
raise SystemExit(run())