Monitoring Library base on metrics