File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -53,3 +53,11 @@ TASK_IMAGE_WHITELIST: []
5353 # - public.ecr.aws/random/approved/public:*
5454 # - 9876543210.dkr.ecr.us-east-1.amazonaws.com/approved/{username}:abc
5555 # - quay.io/nextflow/bash:*
56+
57+
58+ # ############
59+ # METRICS #
60+ # ############
61+
62+ ENABLE_PROMETHEUS_METRICS : false
63+ PROMETHEUS_MULTIPROC_DIR : /var/tmp/prometheus_metrics
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def validate(self) -> None:
3939 def validate_top_level_configs (self ) -> None :
4040 schema = {
4141 "type" : "object" ,
42- "additionalProperties" : True ,
42+ "additionalProperties" : False ,
4343 "properties" : {
4444 "HOSTNAME" : {"type" : "string" },
4545 "APP_DEBUG" : {"type" : "boolean" },
@@ -61,11 +61,8 @@ def validate_top_level_configs(self) -> None:
6161 "DB_CONNECTION_STRING" : {"type" : "string" },
6262 "TASK_IMAGE_WHITELIST" : {"type" : "array" , "items" : {"type" : "string" }},
6363 "TES_SERVER_URL" : {"type" : "string" },
64- "ENABLE_PROMETHEUS_METRICS" : {"type" : "boolean" , "default" : False },
65- "PROMETHEUS_MULTIPROC_DIR" : {
66- "type" : "string" ,
67- "default" : "/var/tmp/prometheus_metrics" ,
68- },
64+ "ENABLE_PROMETHEUS_METRICS" : {"type" : "boolean" },
65+ "PROMETHEUS_MULTIPROC_DIR" : {"type" : "string" },
6966 },
7067 }
7168 validate (instance = self , schema = schema )
You can’t perform that action at this time.
0 commit comments