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 2021/04/25 07:11:21 UTC

[skywalking-data-collect-protocol] branch master updated: Add throughput field for ServiceMeshMetric (#51)

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 7da226c  Add throughput field for ServiceMeshMetric (#51)
7da226c is described below

commit 7da226cfced7fa4eb91c6528e8c30827288531a0
Author: Zhenxu Ke <ke...@apache.org>
AuthorDate: Sun Apr 25 15:11:14 2021 +0800

    Add throughput field for ServiceMeshMetric (#51)
---
 service-mesh-probe/service-mesh.proto | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/service-mesh-probe/service-mesh.proto b/service-mesh-probe/service-mesh.proto
index 5f09a06..0e0325e 100644
--- a/service-mesh-probe/service-mesh.proto
+++ b/service-mesh-probe/service-mesh.proto
@@ -56,6 +56,9 @@ message ServiceMeshMetric {
     // The sidecar/proxy internal error code, the value bases on the implementation.
     // The envoy internal error codes are listed here, https://www.envoyproxy.io/docs/envoy/latest/api-v2/data/accesslog/v2/accesslog.proto#data-accesslog-v2-responseflags
     string internalErrorCode = 14;
+
+    // The tcp detail of the mesh metrics if it's a TCP metrics, otherwise should be empty.
+    TCPInfo tcp = 15;
 }
 
 enum Protocol {
@@ -64,5 +67,12 @@ enum Protocol {
     TCP = 2;
 }
 
+message TCPInfo {
+    // The received data in bytes
+    int64 receivedBytes = 1;
+    // The sent data in bytes
+    int64 sentBytes = 2;
+}
+
 message MeshProbeDownstream {
 }