infinityworks / prometheus-rancher-exporter

Exposes Rancher metrics to Prometheus
MIT License
99 stars 47 forks source link

When available use name attribute for hosts as populated on rancher #29

Closed gcristofol closed 7 years ago

gcristofol commented 7 years ago

If the name for a host has been populated manually use it instead of the hostname attribute. This avoids the ugly naming created by automated provisioning tools and the like.

Rucknar commented 7 years ago

Thanks for the PR @gcristofol !