You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2022/05/05 11:37:29 UTC

[skywalking-data-collect-protocol] 01/01: Add Envoy sidecar request/response filter time metrics

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

kezhenxu94 pushed a commit to branch sidecar/metrics
in repository https://gitbox.apache.org/repos/asf/skywalking-data-collect-protocol.git

commit 4949cd6cd127e96b8f203f4a7686f9f855018754
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Thu May 5 19:37:15 2022 +0800

    Add Envoy sidecar request/response filter time metrics
---
 service-mesh-probe/service-mesh.proto | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/service-mesh-probe/service-mesh.proto b/service-mesh-probe/service-mesh.proto
index 0e0325e..69635c9 100644
--- a/service-mesh-probe/service-mesh.proto
+++ b/service-mesh-probe/service-mesh.proto
@@ -59,6 +59,13 @@ message ServiceMeshMetric {
 
     // The tcp detail of the mesh metrics if it's a TCP metrics, otherwise should be empty.
     TCPInfo tcp = 15;
+
+    // Internal request(response) latency is the time cost inside the sidecar proxy
+    // after it received the request(response) from the downstream(upstream) and
+    // before it sents the request(response) to upstream(downstream).
+    // The time typically is costed by the sidecar proxy filters.
+    int64 internalRequestLatencyNanos = 16;
+    int64 internalResponseLatencyNanos = 17;
 }
 
 enum Protocol {