import time import json import random import asyncio import pytest from app.main import Telemetry, create_app, parse_line def json_record(**changes): record = dict(timestamp="1720000000.123", host="example.test", method="POST", status="201", incoming="6460500000", outgoing="240", request_time="180.0", upstream_response_time="0.100, 0.200", client_address="2001:db8::1", path='/upload/"file"/