class GroupedInfluxDbHttpSender extends InfluxDbHttpSender {

    @Override
    public int writeData() throws Exception {
        InfluxDbWriteObjectSerializer serializer = this.getSerializer();
        InfluxDbWriteObject writeObject = this.getWriteObject();
        String linestr = serializer.getGroupedLineProtocolString(writeObject, groupMeasurement);
        final byte[] line = linestr.getBytes(UTF_8);
        return super.writeData(line);
    }

    public  GroupedInfluxDbHttpSender(String protocol, String hostname, int port, String database, String authString,
            TimeUnit timePrecision, int connectTimeout, int readTimeout, String measurementPrefix, String groupMeasurement);

}