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

Fix tracing

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