Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracing multi request #170

Open
manhtd98 opened this issue Jul 24, 2022 · 0 comments
Open

Tracing multi request #170

manhtd98 opened this issue Jul 24, 2022 · 0 comments

Comments

@manhtd98
Copy link

I set headers[0] the Attr to tracing request. How to trace when I have multi request

def extract_zipkin_attrs(headers):
    if isinstance(headers, list):
        return ZipkinAttrs(
            headers[0],
            generate_random_64bit_string(),
            headers[2],
            headers[3],
            headers[4],
        )
    else:
        return create_attrs_for_span()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant