org.rhq.enterprise.server.measurement.MeasurementDataManagerBean#findDataForResource() offers (also on the remote interface to the CLI ) to specify a number of datapoints. But doing so only works correctly when #datapoints = 60 This comes from calling into org.rhq.enterprise.server.measurement.util.MeasurementDataManagerUtility#getMeasurementDataAggregatesForContext then org.rhq.enterprise.server.measurement.util.MeasurementDataManagerUtility#getFullQuery where the SQL is constructed + " ) data GROUP BY timestamp) \n" + " UNION ALL (select ? + (? * i) as timestamp, null as av, null as peak, null as low from RHQ_numbers where i < ?) ) alldata \n" but RHQ_numbers only has 60 rows
No longer true using StorageNode/Cassandra