Add `hostname` support for `GROUP_BY` constraint