Commit f3deb2ea authored by Nane Kratzke's avatar Nane Kratzke
Browse files

debugging request headers

parent 6255d60b
from flask import Flask, redirect from flask import Flask, redirect, request
from jaeger_client import Config from jaeger_client import Config
from flask_opentracing import FlaskTracer #, FlaskTracing from flask_opentracing import FlaskTracer #, FlaskTracing
import opentracing import opentracing
...@@ -32,6 +32,7 @@ def index(): ...@@ -32,6 +32,7 @@ def index():
@app.route('/hip') @app.route('/hip')
def hip(): def hip():
print(request.headers)
r = "" r = ""
try: try:
parent_span = tracer.get_span() parent_span = tracer.get_span()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment