|
|
@ -17,13 +17,7 @@ public class ComponentSender { |
|
|
|
private static final String CLOUD_REUSE_URL = "https://cloud.fanruan.com/api/monitor/record_of_reusePlugin/single"; |
|
|
|
private static final String CLOUD_REUSE_URL = "https://cloud.fanruan.com/api/monitor/record_of_reusePlugin/single"; |
|
|
|
|
|
|
|
|
|
|
|
public static boolean send() { |
|
|
|
public static boolean send() { |
|
|
|
|
|
|
|
|
|
|
|
long start = System.currentTimeMillis(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String content = ComponentCollector.getInstance().generateTotalInfo(); |
|
|
|
String content = ComponentCollector.getInstance().generateTotalInfo(); |
|
|
|
|
|
|
|
|
|
|
|
long end = System.currentTimeMillis(); |
|
|
|
|
|
|
|
FineLoggerFactory.getLogger().error("cal time cost {} ms", end - start); |
|
|
|
|
|
|
|
return sendInfo(CLOUD_REUSE_URL, content); |
|
|
|
return sendInfo(CLOUD_REUSE_URL, content); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|