docs: async def get_data(self, resource):
          """Get detail for a resource from the data endpoint."""
          url = '{}{}'.format(
              self.base_url, self.endpoint.format(resource=resource))
  
          try:
              with async_timeout.timeout(5, loop=self._loop):
                  response = await self._session.get(url)
  
              _LOGGER.info(
                  "Response from Netdata: %s", response.status)
              data = await response.json()
              _LOGGER.debug(data)
              self.values = {k: v for k, v in zip(
                  data['labels'], data['data'][0])}
  
          except (asyncio.TimeoutError, aiohttp.ClientError, socket.gaierror):
              _LOGGER.error("Can not load data from Netdata")
              raise exceptions.NetdataConnectionError()