hertzbeat icon indicating copy to clipboard operation
hertzbeat copied to clipboard

Split AbstractHistoryDataStorage class

Open xuziyang opened this issue 2 months ago • 0 comments

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

xuziyang avatar Apr 29 '24 05:04 xuziyang