Update JVMMetricsService.proto

This commit is contained in:
吴晟 Wu Sheng 2017-07-04 12:02:18 +08:00 committed by GitHub
parent b68c7b4368
commit baa19d47f1
1 changed files with 23 additions and 1 deletions

View File

@ -9,5 +9,27 @@ service JVMMetricsService {
}
message JVMMetrics {
repeated JVMMetric metrics = 1;
}
message JVMMetric {
long time = 1;
CPU cpu = 2;
MEMORY memory = 3;
GC gc = 4;
}
message CPU {
}
message MEMORY {
long heapInit = 1;
long heapMax = 2;
long heapUsed = 3;
long nonHeapInit = 4;
long nonHeapMax = 5;
long nonHeapUsed = 6;
}
message GC {
}