提交 cca8ca74 编写于 作者: wu-sheng's avatar wu-sheng 提交者: GitHub

Update JVMMetricsService.proto

上级 baa19d47
......@@ -15,21 +15,47 @@ message JVMMetrics {
message JVMMetric {
long time = 1;
CPU cpu = 2;
MEMORY memory = 3;
GC gc = 4;
repeated Memory memory = 3;
repeated MemoryPool memoryPool = 4;
repeated GC gc = 5;
}
message CPU {
}
message MEMORY {
long heapInit = 1;
long heapMax = 2;
long heapUsed = 3;
long nonHeapInit = 4;
long nonHeapMax = 5;
long nonHeapUsed = 6;
message Memory {
boolean isHeap = 1;
long init = 2;
long max = 3;
long used = 4
long committed = 5;
}
message MemoryPool {
boolean isHeap = 1;
PoolType type = 2;
long init = 3;
long max = 4;
long used = 5;
long commited = 6;
}
message PoolType {
CODE_CACHE_USAGE = 0;
NEWGEN_USAGE = 1;
OLDGEN_USAGE = 2;
SURVIVOR_USAGE = 3;
PERMGEN_USAGE = 4;
METASPACE_USAGE = 5;
}
message GC {
GCPhrase phrase = 1;
long count = 2;
long time = 3;
}
message GCPhrase {
NEW = 0;
OLD = 1;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册