Commit 6255d60b authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Fix tracing

parent ca021b8e
from flask import Flask, redirect from flask import Flask, redirect
from jaeger_client import Config from jaeger_client import Config
from flask_opentracing import FlaskTracing, FlaskTracer from flask_opentracing import FlaskTracer #, FlaskTracing
import opentracing import opentracing
import requests import requests
import traceback import traceback
...@@ -22,8 +22,9 @@ config = Config(config = { ...@@ -22,8 +22,9 @@ config = Config(config = {
'reporter_batch_size': 1 'reporter_batch_size': 1
}, service_name=service) }, service_name=service)
tracer = config.initialize_tracer() #tracer = config.initialize_tracer()
tracing = FlaskTracing(tracer, True, app) tracer = FlaskTracer(config.initialize_tracer(), True, app)
#tracing = FlaskTracing(tracer, True, app)
@app.route('/') @app.route('/')
def index(): def index():
......
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