Metrics seems to fail when not defining a Hawkular Endpoint
Metrics seems to fail when not defining a Hawkular Endpoint

When not defining a Hawkular Endpoint hostname metric collection fails, if should fallback to the providers hostname.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1340721
Issue: https://github.com/ManageIQ/manageiq/issues/9024
(transferred from ManageIQ/manageiq@ac89bc7498297f6cf1e1cc6d9e03d8193209379b)

ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic