replace dots in hostname by underscores for carbon reporting, and document this.