adding extra debug to TsdbQuery