johnbillion / resource-host-monitor

1 stars 0 forks source link

Report on the current host too #6

Open johnbillion opened 9 years ago

johnbillion commented 9 years ago

At the moment the JS collector doesn't report the current host. It might as well do so, though.

tollmanz commented 9 years ago

Sounds like maybe we need to build a "Host" class that allows for different ways to harvest hosts. As a default, we should check site_url(), which means we need another way of working a host into the workflow. Like you suggested with MCD, we should also grab hosts that are used in WP_Http operations. All of this suggests a need to abstract out the idea of "host collection". Not sure if that is the right nomenclature, but you get the point.