Skip to content
This repository was archived by the owner on Aug 11, 2025. It is now read-only.
This repository was archived by the owner on Aug 11, 2025. It is now read-only.

Binary injection failed #4

@ygan397

Description

@ygan397

It seemed that tracer:binary_inject() didn't inject the span context to the carrier when I replaced tracer:text_map_inject() function in the tutorial.lua with it. carrierturned out to be an empty string and span_context is nil. Any idea on that?

local carrier = tracer:binary_inject(parent_span:context())
local span_context = tracer:binary_extract(carrier)
assert(span_context ~= nil)

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