Skip to content

Segment not propgated when subsegment metadata is sufficiently long #415

@yogabbagabb

Description

@yogabbagabb

The xray-daemon does not propagate a segment to AWS, where metadata is set using query, where query is both defined and used below:

query="******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************"
xray_recorder.begin_segment("segment")
c=xray_recorder.begin_subsegment("foo")
c.put_metadata("bar", query)
xray_recorder.end_subsegment()
xray_recorder.end_segment()

query is, above, a 882-character long string.

By contrast, if I set query to something trivial like "bla" then the xray-daemon forwards the segment. If I set query to a shorter 30-character string like "******************************", then the daemon forwards the segment.

There should be no problem with query being very long.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions