@@ -0,0 +1,11 @@
+from a2s.a2s_monitor import watch_monitor
+
+if __name__ == '__main__':
+ import time
+ for i in range(1000):
+ ner_count = watch_monitor('192.168.3.240:9090', 'goods_ner')
+ field_count = watch_monitor('192.168.3.240:9090', 'goods_field')
+ service_count = watch_monitor('192.168.3.240:9090', 'goods_service')
+ print("service_count:", service_count, "ner_count:", ner_count, "field_count:", field_count)
+ time.sleep(0.5)