fix(telemetry): advertise the local Loki address behind the TLS boundary

This commit is contained in:
2026-11-20 21:03:09 +03:00
parent 034c9a4384
commit adcdaf9584
4 changed files with 914 additions and 0 deletions
File diff suppressed because one or more lines are too long
+1
View File
@@ -5,6 +5,7 @@ server:
http_listen_address: 127.0.0.1
grpc_listen_address: 127.0.0.1
common:
instance_addr: 127.0.0.1
path_prefix: /loki
replication_factor: 1
ring:
+5
View File
@@ -401,6 +401,11 @@ def main():
"openbao",
"postgres-tls",
"otel",
"otel-tls",
"loki",
"loki-tls",
"tempo",
"tempo-tls",
],
),
]:
+3
View File
@@ -73,7 +73,10 @@ def main():
("tempo", "/ready"),
("otel", "/"),
]:
report["checking_backend"] = service
print("CHECK: telemetry backend " + service, flush=True)
wait(lambda s=service, p=path: fetch(s, p, json_result=False))
report.setdefault("ready_backends", []).append(service)
report["backends_ready"] = True
buffer = io.BytesIO()
Image.new("RGB", (320, 200), (24, 110, 153)).save(buffer, "PNG")