class TracingManager {
    private static AtomicBoolean enabled = new AtomicBoolean();

    /**
     * 启用
     */
    public static void enable(String excluded) {
        if (enabled.get()) {
            return;
        } else {
            enabled.set(true);
        }

        //添加 nami 适配
        NamiManager.reg(new NamiFilterTracing());

        //添加 solon 适配
        Solon.app().filter(new SolonFilterTracing(excluded));

        //添加 @Tracing 适配
        Solon.context().beanInterceptorAdd(Tracing.class, new TracingInterceptor());
    }

    /**
     * 注册
     */
    public static void register(TracerFactory service) {<FILL_FUNCTION_BODY>}
}

        try {
            Solon.context().wrapAndPut(Tracer.class, service.create());

            LogUtil.global().info("Cloud: TracerFactory registered from the " + service.getClass().getTypeName());
        } catch (RuntimeException e) {
            throw e;
        } catch (Throwable e) {
            throw new RuntimeException(e);
        }
    
<no_super_class>