disable external metric by default

This commit is contained in:
Jörn-Michael Miehe 2023-09-02 15:17:23 +00:00
parent ec322276dd
commit 71b8fe7454
2 changed files with 2 additions and 0 deletions

1
.vscode/launch.json vendored
View file

@ -12,6 +12,7 @@
"env": {
"METRIC__INTERVAL": "5",
"METRIC__LOG__ENABLED": "True",
"METRIC__EXTERNAL__ENABLED": "True",
"METRIC__EXTERNAL__EXECUTABLES": "[\"${workspaceFolder}/dummy-metric\"]",
},
"justMyCode": true

View file

@ -86,6 +86,7 @@ class DiskMS(MetricSettings):
class ExternalMS(MetricSettings):
name: str = "External Metric"
enabled: bool = False
threshold: float = 0
# path to executable files