-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
Description
Specifically this piece of code:
Lines 257 to 258 in f800501
| if "rabbitmq" in self.data and self.data["rabbitmq"]["sort"] == "consume": | |
| self.k = 1 # entry |
def __init__(self, span, source, service_name, **kwargs):
# pylint: disable=invalid-name
super(RegisteredSpan, self).__init__(span, source, service_name, **kwargs)
self.n = span.operation_name
self.k = 1
if span.operation_name in self.ENTRY_SPANS:
# entry
self._populate_entry_span_data(span)
self.data["service"] = service_name
elif span.operation_name in self.EXIT_SPANS:
self.k = 2 # exit
self._populate_exit_span_data(span)
elif span.operation_name in self.LOCAL_SPANS:
self.k = 3 # intermediate span
self._populate_local_span_data(span)
if "rabbitmq" in self.data and self.data["rabbitmq"]["sort"] == "consume":
self.k = 1 # entry
Looks like, it has no effect.