* Rename method applyTemplateVariables so it used by backend * Zipkin: Move query running to backend * Fix error source * Hndle invalid query and return error response