kezhenxu94 commented on a change in pull request #40:
URL: https://github.com/apache/skywalking-python/pull/40#discussion_r456872980



##########
File path: skywalking/trace/context/__init__.py
##########
@@ -76,6 +88,15 @@ def new_exit_span(self, op: str, peer: str, carrier: 
'Carrier' = None) -> Span:
 
         return span
 
+    def ignore_check(self, op: str, kind: Kind):
+        suffix_idx = op.rfind(".")
+        if suffix_idx > -1 and config.ignore_suffix.find(op[op.rfind("."):]) > 
-1:

Review comment:
       ```suggestion
           if suffix_idx > -1 and config.ignore_suffix.find(op[suffix_idx:]) > 
-1:
   ```




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to