You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/02/10 14:51:09 UTC

[GitHub] [skywalking] JohnNiang commented on a change in pull request #4344: [WIP]supprt gRPC alarm hook.

JohnNiang commented on a change in pull request #4344: [WIP]supprt gRPC alarm hook.
URL: https://github.com/apache/skywalking/pull/4344#discussion_r377105587
 
 

 ##########
 File path: docs/en/setup/backend/backend-alarm.md
 ##########
 @@ -113,6 +114,24 @@ Example as following
 }]
 ```
 
+## gRPCHook
+The alarm message will send through remote gRPC method by `Protobuf` content type. 
+The message format with following key information which are defined in `oap-server/server-alarm-plugin/src/main/proto/alarm-hook.proto`.
+
+Example as following
+```text
 
 Review comment:
   This code language  could be `protobuf`. It will result as following:
   
   ```protobuf
   message AlarmMessage {
       int64 scopeId = 1;
       string scope = 2;
       string name = 3;
       int64 id0 = 4;
       int64 id1 = 5;
       string ruleName = 6;
       string alarmMessage = 7;
       int64 startTime = 8;
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services