log hostnames in postgres
Fix postgres metric value