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/09/05 16:10:49 UTC
[GitHub] [skywalking] dd01panqinglong opened a new issue #5446: skywalking alert is error
dd01panqinglong opened a new issue #5446:
URL: https://github.com/apache/skywalking/issues/5446
### no health
#### oal
endpoint_200 = from(Endpoint.*).filter(responseCode like "2%").percent();
#### alert
endpoint_200_rule:
# Metrics value need to be long, double or int
metrics-name: endpoint_200
op: ">"
threshold: 1
period: 10
count: 1
silence-period: 1
message: Successful rate of endpoints_200 {name} is lower than 1% in 1 minutes of last 10 minutes
#### error info
line 41:52 no viable alternative at input 'responseCode like'
line 41:52 mismatched input 'like' expecting {SPACE, '='}
line 41:57 mismatched input '"2%"' expecting {SPACE, '='}
line 41:70 mismatched input '(' expecting {SPACE, '='}
2020-09-05 16:02:55,896 - org.apache.skywalking.oap.server.starter.OAPServerBootstrap -4404 [main] ERROR [] - Can't find metrics, null
java.lang.IllegalArgumentException: Can't find metrics, null
at org.apache.skywalking.oal.rt.parser.MetricsHolder.find(MetricsHolder.java:54) ~[oal-rt-8.1.0.jar:8.1.0]
at org.apache.skywalking.oal.rt.parser.DeepAnalysis.analysis(DeepAnalysis.java:38) ~[oal-rt-8.1.0.jar:8.1.0]
at org.apache.skywalking.oal.rt.parser.OALListener.exitAggregationStatement(OALListener.java:50) ~[oal-rt-8.1.0.jar:8.1.0]
at org.apache.skywalking.oal.rt.grammar.OALParser$AggregationStatementContext.exitRule(OALParser.java:232) ~[oal-grammar-8.1.0.jar:8.1.0]
at org.antlr.v4.runtime.tree.ParseTreeWalker.exitRule(ParseTreeWalker.java:47) ~[antlr4-runtime-4.7.1.jar:4.7.1]
at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:30) ~[antlr4-runtime-4.7.1.jar:4.7.1]
at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:28) ~[antlr4-runtime-4.7.1.jar:4.7.1]
at org.apache.skywalking.oal.rt.parser.ScriptParser.parse(ScriptParser.java:66) ~[oal-rt-8.1.0.jar:8.1.0]
at org.apache.skywalking.oal.rt.OALRuntime.start(OALRuntime.java:162) ~[oal-rt-8.1.0.jar:8.1.0]
at org.apache.skywalking.oap.server.core.oal.rt.OALEngineLoaderService.load(OALEngineLoaderService.java:60) ~[server-core-8.1.0.jar:8.1.0]
at org.apache.skywalking.oap.server.analyzer.provider.AnalyzerModuleProvider.start(AnalyzerModuleProvider.java:110) ~[agent-analyzer-8.1.0.jar:8.1.0]
at org.apache.skywalking.oap.server.library.module.BootstrapFlow.start(BootstrapFlow.java:58) ~[library-module-8.1.0.jar:8.1.0]
at org.apache.skywalking.oap.server.library.module.ModuleManager.init(ModuleManager.java:69) ~[library-module-8.1.0.jar:8.1.0]
at org.apache.skywalking.oap.server.starter.OAPServerBootstrap.start(OAPServerBootstrap.java:43) [server-bootstrap-8.1.0.jar:8.1.0]
at org.apache.skywalking.oap.server.starter.OAPServerStartUp.main(OAPServerStartUp.java:27) [server-starter-es7-8.1.0.jar:8.1.0]
----------------------------------------------------------------
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
[GitHub] [skywalking] dd01panqinglong closed issue #5446: skywalking alert is error
Posted by GitBox <gi...@apache.org>.
dd01panqinglong closed issue #5446:
URL: https://github.com/apache/skywalking/issues/5446
----------------------------------------------------------------
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
[GitHub] [skywalking] akaxb commented on issue #5446: skywalking alert is error
Posted by GitBox <gi...@apache.org>.
akaxb commented on issue #5446:
URL: https://github.com/apache/skywalking/issues/5446#issuecomment-954586603
i have the same problem in 8.2
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] lovegwwp commented on issue #5446: skywalking alert is error
Posted by GitBox <gi...@apache.org>.
lovegwwp commented on issue #5446:
URL: https://github.com/apache/skywalking/issues/5446#issuecomment-945376056
Is this problem solved?
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org