#!/usr/bin/env python3 """Wait for the business endpoint and each telemetry backend, not only running processes.""" import subprocess,time,urllib.request from pathlib import Path root=Path(__file__).resolve().parents[1] checks=['http://otel-collector:13133/','http://prometheus:9090/-/ready','http://loki:3100/ready','http://tempo:3200/ready','http://grafana:3000/api/health'] end=time.monotonic()+120 while time.monotonic()