carlvinhust2012 opened a new pull request, #9887:
URL: https://github.com/apache/incubator-doris/pull/9887

   # Proposed changes
   1. add some metrics for cpu monitor;
   2. add metrics for process state monitor;
   3. add metrics for memory monitor;
   It is convenient for us to use grafana to filter through different 
conditions.
   
   After the added, we can find the cpu metrics like this:
   # TYPE doris_be_cpu counter
   doris_be_cpu{device="cpu1",mode="guest_nice"} 0
   doris_be_cpu{device="cpu1",mode="guest"} 0
   doris_be_cpu{device="cpu1",mode="steal"} 0
   doris_be_cpu{device="cpu1",mode="soft_irq"} 107168
   doris_be_cpu{device="cpu1",mode="irq"} 0
   doris_be_cpu{device="cpu1",mode="iowait"} 3726931
   doris_be_cpu{device="cpu1",mode="idle"} 2358039214
   doris_be_cpu{device="cpu1",mode="system"} 58699464
   doris_be_cpu{device="cpu1",mode="nice"} 1700438
   doris_be_cpu{device="cpu1",mode="user"} 54974091
   
   we can find the memory metrics like this:
   # TYPE doris_be_memory_swpcache gauge
   doris_be_memory_swpcache 0
   # TYPE doris_be_memory_pswpin gauge
   doris_be_memory_pswpin 167785
   # TYPE doris_be_memory_pswpout gauge
   doris_be_memory_pswpout 203724
   # TYPE doris_be_memory_pgpgout gauge
   doris_be_memory_pgpgout 152101956232
   # TYPE doris_be_memory_cache gauge
   doris_be_memory_cache 86546268
   # TYPE doris_be_memory_memfree gauge
   doris_be_memory_memfree 23520128
   
   Issue Number: close #xxx
   
   ## Problem Summary:
   
   Describe the overview of changes.
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: (No)
   5. Has unit tests been added: (No)
   6. Has document been added or modified: (No)
   7. Does it need to update dependencies: (No)
   8. Are there any changes that cannot be rolled back: (No)
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   


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