A milking system including: at least one milking device; a milk storage vessel storing milk obtained with the milking device; a milk line system with a milk line with a first end connected to the milking device and with a second end connected to the milk storage vessel; and a monitoring system including: a sensor configured to measure a fluid parameter value of a fluid in the milk line, and a control system actively connected to the sensor and configured to process the measured fluid parameter value and generate a transition signal on fulfilment of a predefined transition criterion. The milk line includes a substantially vertical line portion, and a proposed discharge direction of milk runs through the milk line from the milking device to the milk storage vessel and is raised through the line portion, wherein the sensor is placed in or on the substantially vertical line portion.