Class: OpenTelemetry::Instrumentation::AwsSdk::MessageAttributeGetter
- Inherits:
-
Object
- Object
- OpenTelemetry::Instrumentation::AwsSdk::MessageAttributeGetter
- Defined in:
- lib/opentelemetry/instrumentation/aws_sdk/message_attributes.rb
Overview
The MessageAttributeGetter class provides methods for getting tracing information from SQS message.
Class Method Summary collapse
Class Method Details
.get(carrier, key) ⇒ Object
31 32 33 34 |
# File 'lib/opentelemetry/instrumentation/aws_sdk/message_attributes.rb', line 31 def self.get(carrier, key) = carrier[key] [:string_value] if && [:data_type] == 'String' end |