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 2021/03/12 08:16:46 UTC

[GitHub] [skywalking] keylihai opened a new issue #6545: Can't generate method doEndpointAbnormal for EndpointDispatcher.

keylihai opened a new issue #6545:
URL: https://github.com/apache/skywalking/issues/6545


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   the question is that i add two oal  metrics that are given by official document to core.oal .
   ![image](https://user-images.githubusercontent.com/11571589/110911861-31bba180-834e-11eb-87ff-69cc7abf1763.png)
   but it get error:
   ![image](https://user-images.githubusercontent.com/11571589/110911922-47c96200-834e-11eb-844f-fa847d354187.png)
   
   ___
   ### Bug
   - Which version of SkyWalking, OS, and JRE?
   
   - Which company or project?
   
   - What happened?
   If possible, provide a way to reproduce the error. e.g. demo application, component version.
   
   ___
   ### Requirement or improvement
   - Please describe your requirements or improvement suggestions.
   


----------------------------------------------------------------
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] keylihai commented on issue #6545: Can't generate method doEndpointAbnormal for EndpointDispatcher.

Posted by GitBox <gi...@apache.org>.
keylihai commented on issue #6545:
URL: https://github.com/apache/skywalking/issues/6545#issuecomment-797323119


   @wu-sheng So,how cat i define a metric to do the same thing like this:
   endpoint_abnormal = from(Endpoint.*).filter(responseCode in [404, 500, 503]).sum()


----------------------------------------------------------------
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 #6545: Can't generate method doEndpointAbnormal for EndpointDispatcher.

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


   


----------------------------------------------------------------
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 #6545: Can't generate method doEndpointAbnormal for EndpointDispatcher.

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


   Sum requires a value as parameter. I remember there is a wrong in the doc, and has been fixed in the latest. 


----------------------------------------------------------------
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] keylihai commented on issue #6545: Can't generate method doEndpointAbnormal for EndpointDispatcher.

Posted by GitBox <gi...@apache.org>.
keylihai commented on issue #6545:
URL: https://github.com/apache/skywalking/issues/6545#issuecomment-797324228


   @wu-sheng yes


----------------------------------------------------------------
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 #6545: Can't generate method doEndpointAbnormal for EndpointDispatcher.

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


   Are you meaning count?


----------------------------------------------------------------
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 #6545: Can't generate method doEndpointAbnormal for EndpointDispatcher.

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


   Use count function. Sum means add the value of a field.


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