You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2022/01/12 14:28:20 UTC
[skywalking-data-collect-protocol] branch master updated: Fix GCPhrase to GCPhase (#60)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-data-collect-protocol.git
The following commit(s) were added to refs/heads/master by this push:
new 667134d Fix GCPhrase to GCPhase (#60)
667134d is described below
commit 667134d08ffd63122062971d320c34e7e10a7c9e
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Wed Jan 12 22:27:44 2022 +0800
Fix GCPhrase to GCPhase (#60)
---
language-agent/JVMMetric.proto | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/language-agent/JVMMetric.proto b/language-agent/JVMMetric.proto
index 82e24ff..f092b5b 100644
--- a/language-agent/JVMMetric.proto
+++ b/language-agent/JVMMetric.proto
@@ -75,15 +75,15 @@ enum PoolType {
}
message GC {
- GCPhrase phrase = 1;
+ GCPhase phase = 1;
int64 count = 2;
int64 time = 3;
}
-enum GCPhrase {
+enum GCPhase {
NEW = 0;
OLD = 1;
- NORMAL = 2; // The type of GC doesn't have new and old phrases, like Z Garbage Collector (ZGC)
+ NORMAL = 2; // The type of GC doesn't have new and old phases, like Z Garbage Collector (ZGC)
}
// See: https://docs.oracle.com/javase/8/docs/api/java/lang/management/ThreadMXBean.html