From ce225006efcbb2ffa0bdb050e1032b782f5be9d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Fri, 1 Sep 2023 11:34:26 +0000 Subject: [PATCH] ScriptMS class --- kiwi_simple_metrics/settings/metric.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kiwi_simple_metrics/settings/metric.py b/kiwi_simple_metrics/settings/metric.py index 695696b..90a7fee 100644 --- a/kiwi_simple_metrics/settings/metric.py +++ b/kiwi_simple_metrics/settings/metric.py @@ -79,3 +79,8 @@ class DiskMS(MetricSettings): # paths to check for disk space paths: list[DirectoryPath] = Field(default_factory=list) + + +class ScriptMS(MetricSettings): + name: str = "External Script" + threshold: float = 0