fix(telemetry): recover worker agent and Tailscale transport automatically

This commit is contained in:
DCCONSTRUCTIONS
2026-09-25 23:24:27 +03:00
parent bd5873ef34
commit f3640026cf
11 changed files with 755 additions and 4 deletions
+3 -1
View File
@@ -423,7 +423,9 @@ def build_compute_contour_router(*, root_provider: RootProvider) -> APIRouter:
try:
contour = store.get(contour_id)
telemetry_plane_root = (
Path(__file__).resolve().parents[3] / "deploy" / "telemetry-plane"
Path(os.environ["MISSIONCORE_TELEMETRY_PLANE_ROOT"])
if os.environ.get("MISSIONCORE_TELEMETRY_PLANE_ROOT")
else Path(__file__).resolve().parents[3] / "deploy" / "telemetry-plane"
)
return apply_broker_network(
_network_target(contour),