def __init__(self, client, name, max_samples=15000):
        """Init the meter.

        :param client: Ceilometer client
        :type client: ceilometerclient.client
        :param name: Name of the meter
        :type name: String
        :param max_samples: Max number of samples per query.
        :type max_samples: Integer
        """
        self.client = client
        self.name = name
        self.max_samples = max_samples

        # Extra time is 4 hours. 4 * 60 * 60 = 14400
        self._extra_time = datetime.timedelta(seconds=14400)