def __add__(self, other):
        result = OverallStats()
        result.total_bytes_copied = self.total_bytes_copied + other.total_bytes_copied
        result.total_bytes_skipped = self.total_bytes_skipped + other.total_bytes_skipped
        result.total_bytes_subsampled = self.total_bytes_subsampled + other.total_bytes_subsampled
        result.total_bytes_failed = self.total_bytes_failed + other.total_bytes_failed
        result.total_redactions = self.total_redactions + other.total_redactions
        result.total_copy_requests_errors = self.total_copy_requests_errors + other.total_copy_requests_errors
        result.total_monitor_reported_lines = self.total_monitor_reported_lines + other.total_monitor_reported_lines
        result.total_monitor_errors = self.total_monitor_errors + other.total_monitor_errors

        result.total_requests_sent = self.total_requests_sent + other.total_requests_sent
        result.total_requests_failed = self.total_requests_failed + other.total_requests_failed
        result.total_request_bytes_sent = self.total_request_bytes_sent + other.total_request_bytes_sent
        result.total_response_bytes_received = self.total_response_bytes_received + other.total_response_bytes_received
        result.total_request_latency_secs = self.total_request_latency_secs + other.total_request_latency_secs
        result.total_connections_created = self.total_connections_created + other.total_connections_created

        return result
Adds all of the 'total_' fields of this instance and other together and returns a new OverallStats containing
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/agent_status.py/OverallStats.__add__