Exemple #1
0
 protected virtual IClientTracerBridge InitCallback(IClientTracerBridge bridge)
 {
     bridge.StartSpanCallback  = result => Callback(nameof(bridge.StartSpanCallback), result);
     bridge.LogCallback        = result => Callback(nameof(bridge.LogCallback), result);
     bridge.SetTagsCallback    = result => Callback(nameof(bridge.SetTagsCallback), result);
     bridge.FinishSpanCallback = result => Callback(nameof(bridge.FinishSpanCallback), result);
     return(bridge);
 }
Exemple #2
0
 public TraceHub(IClientTracerBridge clientTracerBridge)
 {
     _clientTracerBridge = InitCallback(clientTracerBridge);
 }