query trace only exists in development