Skip to content

about RPC in django #68

@waitqaq

Description

@waitqaq

if i want to get rpc in django, should i must use
@tracing.trace()
def some_view_func(request):
new_request = some_http_request
current_span = tracing.get_span(request)
text_carrier = {}
opentracing_tracer.inject(span, opentracing.Format.TEXT_MAP, text_carrier)
for k, v in text_carrier.items():
request.add_header(k,v)
... # make request
this function to get it?but i had a old project,i want to make its all api to get rpc, what should i do easily

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