@@ -291,6 +291,8 @@ class AgentOperService:
members = self.redis_handler.redis.hgetall(name)
if not members:
return
+
+ registry.MANUAL_AGENT_LIVES.set(len(members))
for k,v in members.items():
check_out_daemon(name, k, v)
# time.sleep(1)
@@ -42,5 +42,6 @@ BOT_CREATE_ACCOUNT_LATENCY = Histogram('bot_create_account_latency', '创建虚
FLASK_ACTIVE_THREADS = Gauge('flask_active_threads', 'Number of active threads')
BOT_AGENT_LIVES = Gauge('bot_agent_lives', 'Number of active agents')
+MANUAL_AGENT_LIVES = Gauge('manual_agent_lives', 'Number of active agents')