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 2018/11/30 15:01:21 UTC
[incubator-skywalking] branch endpoint-and-instance-alarm updated:
Make service instance and endpoint scopes available in alarm core.
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch endpoint-and-instance-alarm
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git
The following commit(s) were added to refs/heads/endpoint-and-instance-alarm by this push:
new 5992c80 Make service instance and endpoint scopes available in alarm core.
5992c80 is described below
commit 5992c808196f84ec6be20af01037f0c68ff0f8e9
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Fri Nov 30 23:01:10 2018 +0800
Make service instance and endpoint scopes available in alarm core.
---
.../skywalking/oap/server/core/alarm/provider/NotifyHandler.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/oap-server/server-alarm-plugin/src/main/java/org/apache/skywalking/oap/server/core/alarm/provider/NotifyHandler.java b/oap-server/server-alarm-plugin/src/main/java/org/apache/skywalking/oap/server/core/alarm/provider/NotifyHandler.java
index 1d4aacc..408f9ee 100644
--- a/oap-server/server-alarm-plugin/src/main/java/org/apache/skywalking/oap/server/core/alarm/provider/NotifyHandler.java
+++ b/oap-server/server-alarm-plugin/src/main/java/org/apache/skywalking/oap/server/core/alarm/provider/NotifyHandler.java
@@ -38,6 +38,10 @@ public class NotifyHandler implements IndicatorNotify {
switch (meta.getScope()) {
case Service:
break;
+ case ServiceInstance:
+ break;
+ case Endpoint:
+ break;
default:
return;
}