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



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