def _get_object_by_name(self, object_endpoint, object_name, timeout=None):
timeout = timeout or self._timeout<EOL>resp = self._get(self._u(object_endpoint, object_name),<EOL>session=self._session, timeout=timeout)<EOL>resp.raise_for_status()<EOL>return resp.json()<EOL>
generic function to get object (metadata, tag, ) by name from SignalFx.

Args:
    object_endpoint (string): API endpoint suffix (e.g. 'v2/tag')
    object_name (string): name of the object (e.g. 'jvm.cpu.load')

Returns:
    dictionary of response