dhineshmm

Results 4 comments of dhineshmm

Using python 2.7.5 ``` ## Log Initializing Jaeger Tracer with UDP reporter Using sampler ConstSampler(True) opentracing.tracer initialized to [app_name=master-app] create_child_wo_function Reporting span ed0bc31d55b5f1a5:8bd95e874ec147dc:ed0bc31d55b5f1a5:1 master-app.command-exec-01 create_child_with_function Reporting span ed0bc31d55b5f1a5:d476f2975c4ac445:ed0bc31d55b5f1a5:1 master-app.command-exec-02 Reporting...

## Finally arrived it to have single span, by start a span through function call and sleep ``` def create_child_span(span_name): global tracer, span parent_span = get_current_span() parent_span.info('Will trigger '+span_name+' span...');...

Yes not required to return from create_child_with_function and create_child_wo_function subroutine. By returning span from create_child_span function #1 and use the same span in create_child_with_function caller function to update all the...

``` import time import opentracing from lib.tracing import init_tracer from opentracing_instrumentation.request_context import get_current_span, span_in_context from opentracing.ext import tags from opentracing.propagation import Format import os import json from datetime import datetime...