public static Tracing getTracing ( String serviceName , CurrentTraceContext context ) { Tracing tracing = Tracing . current ( ) ; if ( tracing == null ) { // TODO reporter based on prop/config tracing = getBuilder ( serviceName , context ) . build ( ) ; } return tracing ; }
Get or build tracing .