File tree Expand file tree Collapse file tree
packages/divbase-api/src/divbase_api/worker Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class WorkerMetricsSettings:
4747 # ENABLE_WORKER_METRICS controls whether the Prometheus metrics server is started (system metrics, etc.)
4848 enabled : bool = os .getenv ("ENABLE_WORKER_METRICS" , "1" ) == "1"
4949 # ENABLE_WORKER_METRICS_PER_TASK controls whether per-task metrics (task/bcftools/VCF download) are collected and exposed
50- enabled_per_task : bool = os .getenv ("ENABLE_WORKER_METRICS_PER_TASK" , "1 " ) == "1"
50+ enabled_per_task : bool = os .getenv ("ENABLE_WORKER_METRICS_PER_TASK" , "0 " ) == "1"
5151 # Prometheus scrapes every 15 seconds in DivBase setup. A TTL of 5 min means it is available for 20 scrapes.
5252 # Once Prometheus has scraped it, it will store the data in its own volume for its retention time (default 15d).
5353 cache_ttl_minutes : int = int (os .getenv ("TASK_METRICS_CACHE_TTL_MINUTES" , "5" ))
You can’t perform that action at this time.
0 commit comments