My usual advice: a few sips at every changeover, some carbohydrate every two or three changeovers in long matches. Water, a sports drink, a banana and a few biscuits in the bag. On hot days we add a pinch of salt or an electrolyte tablet.
The easiest way to track fluid loss is weighing yourself before and after. In tournaments with back-to-back matches, replacing what you lost before the next one is key.