Split AbstractHistoryDataStorage class
Open
status: volunteer wanted
- Dominant language
- Java
- Stars
- 7.4k
- Forks
- 1.3k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 32
Description
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.