Performance monitoring in an optical communication system