Skip to content

Amazon SQS: How to Represent HTTP Span? #2022

@astorm

Description

@astorm

The Amazon SQS APIs are queue operations, but the API communication protocol is REST/HTTPS based. This means a call to an SQS method (receiveMessage, sendMessage, etc.) creates a span for the message send, but also a span for the HTTPS request.

It's unclear how this should be represented in the span tree. Do users want to see the spans for HTTP messages AND the SQS API calls, or do they want to see a single span for the entire operation. This is similar to the issue we face with the @elastic/elasticsearch instrumentation in #2000

We need to decide on "hide the HTTP span, show the HTTP span, or 'it depends on the specific message'", and whether there should be a generic way of handling this increasingly common use case for APIs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-nodejsMake available for APM Agents project planning.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions