verify metric names are valid.