fixed compiliation error in SonarMetricWriter. Using trackIDs to monitor the system. This is not very user friendly. However, In dynamic environments with numbered hostnames there is no other way.