Skip to content

Zipkin span exporter does not serialize arrays as JSON #3598

@mateuszrzeszutek

Description

@mateuszrzeszutek

Describe the bug
The spec mentions that arrays must be serialized to string as a JSON list:

Array values MUST be serialized to string like a JSON list as mentioned in semantic conventions.

Zipkin exporter just naively joins all values with a comma, it doesn't add the brackets, it doesn't wrap string values with "". Note that Jaeger exporter does that correctly and writes all arrays as JSON lists.

Additional context
Zipkin unit tests, Jaeger unit tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions