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/06 05:37:22 UTC

[GitHub] [skywalking] dd01panqinglong opened a new issue #5448: not can custom oal scripts

dd01panqinglong opened a new issue #5448:
URL: https://github.com/apache/skywalking/issues/5448


   ### oal
   Endpoint_200 = from(Endpoint.*).filter(responseCode like "2%").percent()
   ### oap
   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_500 {name} is lower than 1% in 1 minutes of last 10 minutes
   ### oap-server
   line 41:53 no viable alternative at input 'responseCode like'
   line 41:53 mismatched input 'like' expecting {SPACE, '='}
   line 41:58 mismatched input '"2%"' expecting {SPACE, '='}
   
   


----------------------------------------------------------------
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] wu-sheng closed issue #5448: not can custom oal scripts

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #5448:
URL: https://github.com/apache/skywalking/issues/5448


   


----------------------------------------------------------------
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] wu-sheng commented on issue #5448: not can custom oal scripts

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5448:
URL: https://github.com/apache/skywalking/issues/5448#issuecomment-687706646


   response code is a number, note the document.


----------------------------------------------------------------
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