tomsun28 commented on PR #2271:
URL: https://github.com/apache/hertzbeat/pull/2271#issuecomment-2232155864

   hi sorry for slow response.  The idea of ​​implementing is great 👍👍
   
   There is a strange bug here when I test.  
   
   I set intervals 30 or 60s when adds `port` monitoring, the collect interval 
time work success. 
   
   <img width="626" alt="iShot_2024-07-17_09 21 00" 
src="https://github.com/user-attachments/assets/f815da58-6ed4-4d12-b541-c97d81c2c215";>
   
   <img width="587" alt="iShot_2024-07-17_09 21 43" 
src="https://github.com/user-attachments/assets/6580f893-a4e6-4274-abbd-42e7e96250bd";>
   
   <img width="734" alt="iShot_2024-07-17_09 21 18" 
src="https://github.com/user-attachments/assets/00e5d1db-5aa0-4659-a30d-23cbbe270b7a";>
   
   But when i add `ubuntu` monitoring, config the intervals 60s, the real 
collect interval time is 2*60s. Seem it is caused by multiple metrics 
collection and scheduling under `ubuntu`, and `port` only has one metric.
   
   <img width="659" alt="iShot_2024-07-17_09 26 45" 
src="https://github.com/user-attachments/assets/13cac785-04b3-4157-a570-0d955a65ba0e";>
   
   <img width="632" alt="iShot_2024-07-17_09 26 55" 
src="https://github.com/user-attachments/assets/132b0784-4180-47b7-b294-eb4e3ce24973";>
   
   <img width="770" alt="iShot_2024-07-17_09 27 07" 
src="https://github.com/user-attachments/assets/55a3379b-cd12-4080-adff-9af683132258";>
   
   


-- 
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