Fix typo (#1721)
This commit is contained in:
parent
88783f9632
commit
fbec281553
|
|
@ -101,7 +101,7 @@ class Boto3SQSInstrumentor(BaseInstrumentor):
|
||||||
class ContextableList(list):
|
class ContextableList(list):
|
||||||
"""
|
"""
|
||||||
Since the classic way to process SQS messages is using a `for` loop, without a well defined scope like a
|
Since the classic way to process SQS messages is using a `for` loop, without a well defined scope like a
|
||||||
callback - we are doing something similar to the instrumentaiton of Kafka-python and instrumenting the
|
callback - we are doing something similar to the instrumentation of Kafka-python and instrumenting the
|
||||||
`__iter__` functions and the `__getitem__` functions to set the span context of the addressed message. Since
|
`__iter__` functions and the `__getitem__` functions to set the span context of the addressed message. Since
|
||||||
the return value from an `SQS.ReceiveMessage` returns a builtin list, we cannot wrap it and change all of the
|
the return value from an `SQS.ReceiveMessage` returns a builtin list, we cannot wrap it and change all of the
|
||||||
calls for `list.__iter__` and `list.__getitem__` - therefore we use ContextableList. It is bound to the
|
calls for `list.__iter__` and `list.__getitem__` - therefore we use ContextableList. It is bound to the
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue