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/01/06 11:18:44 UTC

[skywalking-data-collect-protocol] branch master updated: Update logging collect protocol (#41)

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 ea906c1  Update logging collect protocol (#41)
ea906c1 is described below

commit ea906c1ace2b5eaf19b1c36ead0fd6e1489feaeb
Author: zhang-wei <pk...@outlook.com>
AuthorDate: Wed Jan 6 19:18:38 2021 +0800

    Update logging collect protocol (#41)
    
    * Add Tags message
    
    * rename tags
---
 logging/Logging.proto | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/logging/Logging.proto b/logging/Logging.proto
index e227cb7..5bad8ab 100644
--- a/logging/Logging.proto
+++ b/logging/Logging.proto
@@ -64,7 +64,7 @@ message LogData {
     // [Optional] Logs with trace context
     TraceContext traceContext = 6;
     // [Optional] The available tags. OAP server could provide search/analysis capabilities base on these.
-    repeated KeyStringValuePair tags = 7;
+    LogTags tags = 7;
 }
 
 // The content of the log data
@@ -106,4 +106,9 @@ message TraceContext {
     int32 spanId = 3;
 }
 
+message LogTags {
+    // String key, String value pair.
+    repeated KeyStringValuePair data = 1;
+}
+