Saramanda9988 opened a new pull request, #4031:
URL: https://github.com/apache/hertzbeat/pull/4031

   ## What's changed?
   
   <!-- Describe Your PR Here -->
   please refer to #3954 #3955
   This PR adds Apache Doris support as a time-series backend for both metrics 
and logs, aligned with HertzBeat’s existing storage abstraction and 
user-switching behavior.
   - Added Doris-based storage implementation for metrics and logs in 
hertzbeat-warehouse.
   - Added Doris table initialization logic for hzb_history and hzb_log based 
on Doris recommendations and HertzBeat schema needs.
   - Added optional dynamic partition-based expiration for historical data/logs 
(retention/future window/time unit configurable).
   - Added Stream Load write path for high-throughput ingestion.
   - Kept JDBC write/query compatibility and integrated JDBC connection pooling 
for query/read path.
   - Reused runtime worker pool (WarehouseWorkerPool) to avoid unmanaged raw 
threads.
   - Added/updated Doris-related configuration entries in startup YAML files.
   
   Using Apache Doris cluster with 1fe+3be for functional verification, not 
include long-duration soak/stability testing yet.
   
   ## screenshot
   <img width="2559" height="1398" alt="1ec326fdfb0a018f726f9bd3dde2c033" 
src="https://github.com/user-attachments/assets/bed5c23b-93c3-454c-bf02-4a4a9b8fa350";
 />
   <img width="2559" height="1398" alt="8e0fef494129b57251c82ef0e7cc60f2" 
src="https://github.com/user-attachments/assets/d7b60179-a300-4683-be4b-cd10102dec66";
 />
   <img width="2559" height="1398" alt="833b1a3943a4f96c3f86306ed2f0c91d" 
src="https://github.com/user-attachments/assets/590eb7c1-a91d-49fa-bf65-1c28eb5c32c2";
 />
   <img width="2559" height="1398" alt="b4ccd4aa7fc863a859f7e8d50c2d7b3c" 
src="https://github.com/user-attachments/assets/f1c0a6c4-b95b-4fb9-b0c1-fc6f05539990";
 />
   <img width="2559" height="1398" alt="a7d6d58961ed0e76acd7b034d09d3996" 
src="https://github.com/user-attachments/assets/62793b43-fc33-416e-b42a-e3425055d8b8";
 />
   <img width="2526" height="2599" alt="0a47337fbb6d279be7e4329a7e5314b8" 
src="https://github.com/user-attachments/assets/041fef8d-04a5-4296-b7c3-945e96526be2";
 />
   <img width="2559" height="1287" alt="d835ae3fa5931af487a126e0f4bb63b2" 
src="https://github.com/user-attachments/assets/981eddba-4a49-4c5c-bb79-49bf2b56fd50";
 />
   
   ## Checklist
   
   - [x]  I have read the [Contributing 
Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide)
   - [x]  I have written the necessary doc or comment.
   - [x]  I have added the necessary unit tests and all cases have passed.
   
   ## Add or update API
   
   - [ ] I have added the necessary [e2e 
tests](https://github.com/apache/hertzbeat/tree/master/e2e) and all cases have 
passed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to