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 2018/11/19 03:15:46 UTC

[incubator-skywalking-data-collect-protocol] branch master updated: Fix missing objects.

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/incubator-skywalking-data-collect-protocol.git


The following commit(s) were added to refs/heads/master by this push:
     new 71d7612  Fix missing objects.
71d7612 is described below

commit 71d7612a9016d673bccfd0b61f75a9b8f8443c83
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Mon Nov 19 11:15:39 2018 +0800

    Fix missing objects.
---
 language-agent-v2/JVMMetric.proto      | 2 +-
 language-agent-v2/trace.proto          | 2 +-
 language-agent/JVMMetricsService.proto | 5 +++++
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/language-agent-v2/JVMMetric.proto b/language-agent-v2/JVMMetric.proto
index e6353d8..845624c 100644
--- a/language-agent-v2/JVMMetric.proto
+++ b/language-agent-v2/JVMMetric.proto
@@ -26,7 +26,7 @@ import "common/common.proto";
 import "common/JVM.proto";
 
 service JVMMetricReportService {
-    rpc collect (JVMMetrics) returns (Downstream) {
+    rpc collect (JVMMetricCollection) returns (Commands) {
     }
 }
 
diff --git a/language-agent-v2/trace.proto b/language-agent-v2/trace.proto
index 37f607e..c38b3eb 100644
--- a/language-agent-v2/trace.proto
+++ b/language-agent-v2/trace.proto
@@ -25,7 +25,7 @@ option csharp_namespace = "SkyWalking.NetworkProtocol";
 import "common/common.proto";
 
 service TraceSegmentReportService {
-    rpc collect (stream UpstreamSegment) returns (Downstream) {
+    rpc collect (stream UpstreamSegment) returns (Commands) {
     }
 }
 
diff --git a/language-agent/JVMMetricsService.proto b/language-agent/JVMMetricsService.proto
index dfc62e9..229f41a 100644
--- a/language-agent/JVMMetricsService.proto
+++ b/language-agent/JVMMetricsService.proto
@@ -29,3 +29,8 @@ service JVMMetricsService {
     rpc collect (JVMMetrics) returns (Downstream) {
     }
 }
+
+message JVMMetrics {
+    repeated JVMMetric metrics = 1;
+    int32 applicationInstanceId = 2;
+}