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:16 UTC

[skywalking-data-collect-protocol] branch wu-sheng-patch-1 created (now d820308)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a change to branch wu-sheng-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking-data-collect-protocol.git.


      at d820308  Fix GCPhrase to GCPhase

This branch includes the following new commits:

     new d820308  Fix GCPhrase to GCPhase

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[skywalking-data-collect-protocol] 01/01: Fix GCPhrase to GCPhase

Posted by wu...@apache.org.
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