Configuring hostname for Rancher HA containers

It appears that there is no hostname passed to the rancher-ha containers. This causes issues with monitoring in an HA setup as the metrics are output with the container ID and no way to consolidate by physical host.

Is there a way to configure the rancher HA containers (all of them) to use the host’s hostname or the hostname passed to the primary rancher-ha container?