hertzbeat
hertzbeat copied to clipboard
Split AbstractHistoryDataStorage class
Description
org.apache.hertzbeat.warehouse.store.AbstractHistoryDataStorage violates the interface segregation principle:
In this class, there are the following three methods: saveData (), getHistoryMetricData () and getHistoryIntervalMetricData (). DataStorageDispatch uses the method saveData () to save historical data, and does not use the other two query-related methods. Similarly, the alarm and chart modules only use two query-related methods, and do not use data-related methods.
Can be assigned to me @tomsun28
Task List
No response