mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-30 05:32:30 +08:00
Fix typo (#1721)
This commit is contained in:
@ -101,7 +101,7 @@ class Boto3SQSInstrumentor(BaseInstrumentor):
|
||||
class ContextableList(list):
|
||||
"""
|
||||
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
|
||||
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
|
||||
|
Reference in New Issue
Block a user