mirror of
https://github.com/yavook/kiwi-simple-metrics.git
synced 2024-11-24 08:23:01 +00:00
disable external metric by default
This commit is contained in:
parent
ec322276dd
commit
71b8fe7454
2 changed files with 2 additions and 0 deletions
1
.vscode/launch.json
vendored
1
.vscode/launch.json
vendored
|
@ -12,6 +12,7 @@
|
|||
"env": {
|
||||
"METRIC__INTERVAL": "5",
|
||||
"METRIC__LOG__ENABLED": "True",
|
||||
"METRIC__EXTERNAL__ENABLED": "True",
|
||||
"METRIC__EXTERNAL__EXECUTABLES": "[\"${workspaceFolder}/dummy-metric\"]",
|
||||
},
|
||||
"justMyCode": true
|
||||
|
|
|
@ -86,6 +86,7 @@ class DiskMS(MetricSettings):
|
|||
|
||||
class ExternalMS(MetricSettings):
|
||||
name: str = "External Metric"
|
||||
enabled: bool = False
|
||||
threshold: float = 0
|
||||
|
||||
# path to executable files
|
||||
|
|
Loading…
Reference in a new issue