fix(telemetry): recover worker agent and Tailscale transport automatically
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user