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:08:17 UTC
[skywalking-data-collect-protocol] 01/01: Fix GCPhrase to GCPhase
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch wu-sheng-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking-data-collect-protocol.git
commit d820308faf1ad223c6fa52a55e4c3a105945b547
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Wed Jan 12 22:08:12 2022 +0800
Fix GCPhrase to GCPhase
Legacy grammar error.
---
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..96af3ff 100644
--- a/language-agent/JVMMetric.proto
+++ b/language-agent/JVMMetric.proto
@@ -75,15 +75,15 @@ enum PoolType {
}
message GC {
- GCPhrase phrase = 1;
+ GCPhase phrase = 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