wu-sheng commented on a change in pull request #4228: Support Browser protocol 
at OAP
URL: https://github.com/apache/skywalking/pull/4228#discussion_r368230521
 
 

 ##########
 File path: 
oap-server/server-alarm-plugin/src/main/java/org/apache/skywalking/oap/server/core/alarm/provider/NotifyHandler.java
 ##########
 @@ -82,6 +84,38 @@ public NotifyHandler(AlarmRulesWatcher alarmRulesWatcher) {
 
             endpointMetaInAlarm.setName(textName);
             metaInAlarm = endpointMetaInAlarm;
+        } else if (DefaultScopeDefine.inServicePageCatalog(scope)) {
+            String metricsId = meta.getId();
+            String[] ids = metricsId.split(Const.ID_SPLIT);
+            int serviceId = Integer.parseInt(ids[0]);
+            int pagePathId = Integer.parseInt(ids[1]);
 
 Review comment:
   ID1 should not be used in this way. If this is page related alert, then 
id0=pageId, which is unique, so don't worry about it.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to