See also https://en.wikipedia.org/wiki/Data_Retention_Directive
Your ISP had to spy on you. This was the law for 8 years until it was ruled unconstitutional.