diff --git a/collect_coordinator/worker_queue.py b/collect_coordinator/worker_queue.py index 653f977..b408d4e 100644 --- a/collect_coordinator/worker_queue.py +++ b/collect_coordinator/worker_queue.py @@ -158,6 +158,8 @@ def parse_collect_definition_json(self, js: Json) -> JobDefinition: self.redis_event_url, "--ca-cert", "/etc/ssl/certs/ca.crt", + "--push-gateway-url", + "http://pushgateway-prometheus-pushgateway.monitoring.svc.cluster.local:9091", ] core_args = [ "--graphdb-bootstrap-do-not-secure", # root password comes via the environment diff --git a/tests/worker_queue_test.py b/tests/worker_queue_test.py index fa5fbbd..40d3d4c 100644 --- a/tests/worker_queue_test.py +++ b/tests/worker_queue_test.py @@ -71,6 +71,8 @@ def test_read_job_definition(worker_queue: WorkerQueue, example_definition: Json "redis://localhost:6379/0", "--ca-cert", "/etc/ssl/certs/ca.crt", + "--push-gateway-url", + "http://pushgateway-prometheus-pushgateway.monitoring.svc.cluster.local:9091", "--write", ".aws/credentials=AWS_CREDENTIALS", "--account-id",