doc: fix telemetry registration example