Repository navigation
Telemetry for one client and for fleets of thousands.
- Trace of an update (#2032): with
Options.TracerProvider, a pushed update starts a root span (Updates: <type>, started when the message was received, with the delivery delay); the updates engine runs the handler in anupdates.handlerspan, so the requests the handler makes are in the same trace. telegram/blackbox(#2033): a flight recorder of a client — the last requests (method, duration, RPC error type, flood wait) and connection events, no content. Dumped as JSON lines with a summary when the authorization is lost or the account is restricted. ~100 ns per request.telegram.MethodNamenames a request's method for middlewares.telegram/fleet(#2035): many accounts as one — states (ready, flood_wait, disconnected, frozen, auth_lost, banned…), events with the black box record before an account is lost, outliers against the fleet's median, the worst accounts. Metrics without an account attribute (gotd.fleet.*), a Fleet row in_grafana/gotd.jsonand three alerts on shares of the fleet.
Full Changelog: v0.172.1...v0.173.0