feat: add postgres telemetry recorder with two-tier degradation
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user