public DataPointLongBean addCounterDataPoint ( String tenantId , String counterId , Date timestamp , long value ) { List < DataPointLongBean > dataPoints = new ArrayList <> ( ) ; DataPointLongBean dataPoint = new DataPointLongBean ( timestamp , value ) ; dataPoints . add ( dataPoint ) ; addCounterDataPoints ( tenantId , counterId , dataPoints ) ; return dataPoint ; }
Adds a single data point to the given counter .