Skip to content

Coroutine Local baggages for Lua #1

@vaastav

Description

@vaastav

Currently there is no way of specifying baggages local to a specific coroutine in lua. This would be nice to have especially for Lua servers that launch a new coroutine to handle/process a new request.

I am not sure what the best way of implementing this is. Maybe keeping a map of coroutine to baggages and having each Xtrace request pass the id of the coroutine as a parameter into the C++ side could solve this. This would mean we would need to support multiple baggages inside a single thread but there doesn't seem to be any other alternative

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions