Closed
Description
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- Feature or performance improvement
Requirement or improvement
Add some new thread metric and class metric to JVMMetric.
Protocal
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 newStateThreadCount = 4;
int64 runnableStateThreadCount = 5;
int64 blockedStateThreadCount = 6;
int64 waitingStateThreadCount = 7;
int64 timedWaitingStateThreadCount = 8;
int64 terminatedStateThreadCount = 9;
}
// new metric
message Class {
int64 loadedClassCount = 1;
int64 totalUnloadedClassCount = 2;
int64 totalLoadedClassCount = 3;
}
Activity
wu-sheng commentedon Jul 2, 2021
You could send pull request to data-collect-protocol repo, we could check details there.
add some new thread metric and class metric to JVMMetric(apache#7230)
Switch-vov commentedon Jul 2, 2021
ok. I'm trying to send PR.
Update protocol (apache#7230)
Update metrics name (apache#7230)
Add Benchmark for ClassMetrics and ThreadMetrics (apache#7230)
Update scope-definitions.md (apache#7230)
[-]add some new thread metric and class metric to JVMMetric[/-][+]Add some new thread metric and class metric to JVMMetric[/+]update CHANGES.md, Add thread state metric and class loaded info metr…
Remove Terminated State and New State (apache#7230)
Add some case of verify the metrics for Thread and ClassLoaded Metrics (
6 remaining items