ЛР 7 — БВТ2301 — Маслов — на 5 #50

Closed
wh1tet3a wants to merge 40 commits from wh1tet3a/mtusi2026lab7:solution/bvt2301-maslov into main
4 changed files with 914 additions and 0 deletions
Showing only changes of commit adcdaf9584 - Show all commits
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")