Skip to content

[ShippingService] Parent span not set properly #1318

@julianocosta89

Description

@julianocosta89

Bug Report

Which version of the demo you are using?
v1.7.0

Symptom

When shippingservice calls quoteservice the parent_id sent is not from the caller, but from the caller's parent.
The trace is currenly looking like this:

image

But it should be something like this:

checkoutservice oteldemo.ShippingService/GetQuote
    |--> shippingservice oteldemo.ShippingService/GetQuote
        |--> shippingservice POST
            |--> quoteservice POST /getquote
                |--> quoteservice {closure}
                    |--> quoteservice calculate-quote

Reproduce

Simply run the demo with docker compose up and check any trace containing shippingservice spans.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingrustPull requests that update Rust code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions