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/07/03 05:39:20 UTC

[GitHub] [skywalking] firolololo opened a new issue #5019: question about alarming local span

firolololo opened a new issue #5019:
URL: https://github.com/apache/skywalking/issues/5019


   If i write a plugin to establish a local span to intercept the constructor of my own java class, the span will fail in some situation. I try to alarm this situation and configure alarm-setting.xml as following:
   
   rules:
     # alarm
     xxxxxxxx_rule:
       metrics-name: endpoint_sla
       op: ">"
       threshold: 60
       period: 10
       count: 1
       silence-period: 5
       message: "failed"
       include-names:
         - com.example.className in serviceName
   
   but not work.  


----------------------------------------------------------------
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 #5019: question about alarming local span

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


   https://github.com/apache/skywalking/blob/master/docs/en/guides/Java-Plugin-Development-Guide.md#extension-logic-endpoint-tag-key-x-le


----------------------------------------------------------------
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 #5019: question about alarming local span

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


   Typically, this should not work, because there are no metrics generated through local spans.
   But luckily, you have an option in the master and next 8.1 release. We call that logic endpoint from the span.
   
   Read the latest doc for more details. 


----------------------------------------------------------------
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] firolololo commented on issue #5019: question about alarming local span

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


   appreciate your reply!


----------------------------------------------------------------
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] firolololo edited a comment on issue #5019: question about alarming local span

Posted by GitBox <gi...@apache.org>.
firolololo edited a comment on issue #5019:
URL: https://github.com/apache/skywalking/issues/5019#issuecomment-653372916


   Appreciate your reply!


----------------------------------------------------------------
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 #5019: question about alarming local span

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


   


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