def _submit_distribution_count(self, monotonic, send_monotonic_with_gauge, metric_name, value, tags=None, hostname=None, flush_first_value=False):
    if monotonic:
        self.monotonic_count(metric_name, value, tags=tags, hostname=hostname, flush_first_value=flush_first_value)
    else:
        self.gauge(metric_name, value, tags=tags, hostname=hostname)
        if send_monotonic_with_gauge:
            self.monotonic_count((metric_name + '.total'), value, tags=tags, hostname=hostname, flush_first_value=flush_first_value)
def _submit_distribution_count(self, monotonic, send_monotonic_with_gauge, metric_name, value, tags=None, hostname=None, flush_first_value=False):
    if monotonic:
        self.monotonic_count(metric_name, value, tags=tags, hostname=hostname, flush_first_value=flush_first_value)
    else:
        self.gauge(metric_name, value, tags=tags, hostname=hostname)
        if send_monotonic_with_gauge:
            self.monotonic_count((metric_name + '.total'), value, tags=tags, hostname=hostname, flush_first_value=flush_first_value)