Skip to content

Commit 6d25e44

Browse files
author
Andrei Neagu
committed
enabling instrumentation
1 parent 9a7165f commit 6d25e44

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

services/director-v2/tests/integration/02/test_dynamic_services_routes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ async def director_v2_client(
187187
"REDIS_HOST": redis_settings.REDIS_HOST,
188188
"REDIS_PORT": f"{redis_settings.REDIS_PORT}",
189189
"REDIS_PASSWORD": f"{redis_settings.REDIS_PASSWORD.get_secret_value()}",
190+
"DIRECTOR_V2_PROMETHEUS_INSTRUMENTATION_ENABLED": "1",
190191
},
191192
)
192193
monkeypatch.delenv("DYNAMIC_SIDECAR_MOUNT_PATH_DEV", raising=False)

services/director-v2/tests/integration/02/test_dynamic_sidecar_nodeports_integration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ def mock_env(
401401
"COMPUTATIONAL_BACKEND_DASK_CLIENT_ENABLED": "true",
402402
"COMPUTATIONAL_BACKEND_DEFAULT_CLUSTER_URL": dask_scheduler_service,
403403
"COMPUTATIONAL_BACKEND_DEFAULT_CLUSTER_AUTH": dask_scheduler_auth.json(),
404+
"DIRECTOR_V2_PROMETHEUS_INSTRUMENTATION_ENABLED": "1",
404405
},
405406
)
406407
monkeypatch.delenv("DYNAMIC_SIDECAR_MOUNT_PATH_DEV", raising=False)

services/director-v2/tests/integration/02/test_mixed_dynamic_sidecar_and_legacy_project.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ def mock_env(
8080
"COMPUTATIONAL_BACKEND_DASK_CLIENT_ENABLED": "false",
8181
"COMPUTATIONAL_BACKEND_ENABLED": "false",
8282
"R_CLONE_PROVIDER": "MINIO",
83+
"DIRECTOR_V2_PROMETHEUS_INSTRUMENTATION_ENABLED": "1",
8384
}
8485
setenvs_from_dict(monkeypatch, env_vars)
8586
monkeypatch.delenv("DYNAMIC_SIDECAR_MOUNT_PATH_DEV", raising=False)

0 commit comments

Comments
 (0)