def METHOD_NAME(self, stats, netboxes, timestamp=None):
    timestamp = timestamp or time.time()
    hc_counters = False
    for row in stats.values():
        hc_counters = use_hc_counters(row) or hc_counters
        for key in LOGGED_COUNTERS:
            if key not in row:
                continue
            value = row[key]
            if value is not None:
                for netbox in netboxes:
                    # duplicate metrics for all involved netboxes
                    path = metric_path_for_interface(
                        netbox, row['ifName'] or row['ifDescr'], key
                    )
                    yield (path, (timestamp, value))
    if stats:
        if hc_counters:
            self._logger.debug("High Capacity counters used")
        else:
            self._logger.debug("High Capacity counters NOT used")