Exemplo n.º 1
0
def submit(request, response):
    span = request.args.span
    r = Response()
    r.ok = request.transport.headers['shardKey'] == base64.b64encode(
        span.traceId
    )
    return r
def submit(request):
    span = request.body.span
    r = TResponse()

    r.ok = request.transport.shard_key == base64.b64encode(
        span.traceId
    )
    return r
def submit(request, response):
    span = request.args.span
    r = Response()
    r.ok = request.transport.headers['shardKey'] == base64.b64encode(
        span.traceId)
    return r