feat: add postgres telemetry recorder with two-tier degradation

This commit is contained in:
2026-07-21 00:50:33 -04:00
parent 0e22fcf433
commit abb65c2324
5 changed files with 359 additions and 12 deletions
+5 -1
View File
@@ -266,5 +266,9 @@ def test_single_emitter_discipline():
text=True,
cwd=Path(__file__).resolve().parents[2],
).stdout.splitlines()
callers = [p for p in out if not p.endswith(("ports.py", "telemetry/sqlite.py"))]
callers = [
p
for p in out
if not p.endswith(("ports.py", "telemetry/sqlite.py", "telemetry/postgres.py"))
]
assert callers == ["src/polygateway/middleware/telemetry.py"]