You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/07/02 05:09:38 UTC

[GitHub] [skywalking] Switch-vov opened a new issue #7230: add some new thread metric and class metric to JVMMetric

Switch-vov opened a new issue #7230:
URL: https://github.com/apache/skywalking/issues/7230


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [x] Feature or performance improvement
   
   ___
   ## Requirement or improvement
   
   I wound to add some new thread metric and class metric to JVMMetric.
   
   ### the protocal
   
   ```protobuf
   message JVMMetric {
       int64 time = 1;
       CPU cpu = 2;
       repeated Memory memory = 3;
       repeated MemoryPool memoryPool = 4;
       repeated GC gc = 5;
       Thread thread = 6;
       Class clazz = 7;
   }
   
   message Thread {
       int64 liveCount = 1;
       int64 daemonCount = 2;
       int64 peakCount = 3;
       // new metric
       int64 deadlocked = 4;
       int64 monitorDeadlocked = 5;
       int64 newThreadCount = 6;
       int64 runnableThreadCount = 7;
       int64 blockedThreadCount = 8;
       int64 waitThreadCount = 9;
       int64 timeWaitThreadCount = 10;
       int64 terminatedThreadCount = 11;
   }
   
   // new metric
   message Class {
       int64 loadedClassCount = 1;
       int64 unloadedClassCount = 2;
       int64 totalLoadedClassCount = 3;
   }
   ```
   
   ### the result in skywalking ui
   ![image](https://user-images.githubusercontent.com/11993575/124223585-9174cd00-db36-11eb-98ed-7c84303ba82a.png)
   ![image](https://user-images.githubusercontent.com/11993575/124223601-9a659e80-db36-11eb-9fe4-c9684f5d67bf.png)
   ![image](https://user-images.githubusercontent.com/11993575/124223622-a3567000-db36-11eb-9d43-fe7b1a3d58d9.png)
   
   
   
   


-- 
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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] Switch-vov commented on issue #7230: add some new thread metric and class metric to JVMMetric

Posted by GitBox <gi...@apache.org>.
Switch-vov commented on issue #7230:
URL: https://github.com/apache/skywalking/issues/7230#issuecomment-872723437


   > You could send pull request to data-collect-protocol repo, we could check details there.
   
   ok. I'm trying to send PR.


-- 
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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #7230: Add some new thread metric and class metric to JVMMetric

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #7230:
URL: https://github.com/apache/skywalking/issues/7230


   


-- 
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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #7230: add some new thread metric and class metric to JVMMetric

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #7230:
URL: https://github.com/apache/skywalking/issues/7230#issuecomment-872719466


   You could send pull request to data-collect-protocol repo, we could check details there.


-- 
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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org