A sampling system performs an automatic dialysis sampling at specific time intervals of a dialysis treatment. The system includes a fluidic pathway in which a dialysis solution flows, a series of sampling containers, and a valve system. The valve system is arranged in the fluidic pathway. The sampling system includes an electronic system that controls automatically the valve system in order to direct a certain quantity of each fluid sample to a specific sampling container.