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

   ## What's changed?
   
   <!-- Describe Your PR Here -->
   please refer to #3983 
   
   In the method of querying historical data, add the `monitorName` parameter. 
When the app is prometheus, automatically concatenate the prefix 
prometheus_{monitorName} to ensure that the query and storage use the same app 
value
   
   - HistoryDataReader - add the monitorName parameter to the interface method 
(marked @ Deprecated)
   - MetricsDataController - API path changed 
from/api/monitor/{instance}/metric/{metricFull} to/ 
-api/monitor/{instance}/metric/{monitorName}/{metricFull}
   - MetricsDataService - add the monitorName parameter to the service method
   
   ### IotDb
   <img width="2559" height="1398" alt="a00ea231bfb24cfde6cd24f5306229c1" 
src="https://github.com/user-attachments/assets/d3a07259-c532-492e-aaef-e6599fcb9573";
 />
   
   ### Influxdb
   <img width="2559" height="1398" alt="5c84338dd3c5ff522b639242114431a4" 
src="https://github.com/user-attachments/assets/917b2141-5942-4b11-a414-68d1fb8bb4c2";
 />
   
   ### QuestDb
   <img width="2559" height="1398" alt="c9b31a715e736a313bb88396ba779e93" 
src="https://github.com/user-attachments/assets/575dd501-6ccd-4439-9cd4-f1cb7ab03bd8";
 />
   
   ### TDengine
   <img width="2559" height="1398" alt="870f4df499ee3de29d6d2efb3f1f86ad" 
src="https://github.com/user-attachments/assets/c3293d37-e4da-4459-8bf0-08f30de4c2d0";
 />
   
   
   ## Checklist
   
   - [x]  I have read the [Contributing 
Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide)
   - [ ]  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