Template telemetry emits only from the gated device-hook handlers.
What
Three more event shapes cover the template path: a per-run event with template id, outcome, duration and dropped fields; an upload event with outcome, template and byte count; and one for a registration lease expiring. Emitted only from the gated device-hook handlers.
Details
- The existing registration event gained a count of templates installed alongside those awaiting upload and those refused.
- It also records how long the handler waited for the account flags, capped at 5000 ms, and whether it shared an already in-flight flag read.
Evidence
tengu_device_hook_template_upload
Strings lifted out of the shipped bundle, so the claim above can be checked against them.